File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 12
12
fail-fast : true
13
13
matrix :
14
14
os : [ ubuntu-latest, macos-latest ]
15
- arch : [ amd64, arm64 ]
16
- exclude :
17
- - os : macos-latest
18
- arch : arm64
15
+ arch : [ x86_64, arm64 ]
19
16
20
17
steps :
21
18
- name : Checkout
Original file line number Diff line number Diff line change @@ -16,21 +16,21 @@ mkdir -p "$target_dir"
16
16
(
17
17
cd mupdf-$VERSION -source || exit
18
18
if [[ " $OS " == " linux" ]]; then
19
- if [[ " $ARCH " == " amd64 " ]]; then
19
+ if [[ " $ARCH " == " x86_64 " ]]; then
20
20
export CC=" gcc"
21
21
export CFLAGS=" -m64"
22
22
elif [[ " $ARCH " == " arm64" ]]; then
23
23
export CC=" aarch64-linux-gnu-gcc"
24
24
fi
25
25
make HAVE_X11=no HAVE_GLUT=no prefix=../../install_${OS} _${ARCH} install
26
26
else
27
- if [[ " $ARCH " == " amd64 " ]]; then
27
+ if [[ " $ARCH " == " x86_64 " ]]; then
28
28
export CC=" clang"
29
- export CFLAGS =" -arch x86_64"
29
+ export XCFLAGS =" -arch x86_64"
30
30
elif [[ " $ARCH " == " arm64" ]]; then
31
31
export CC=" clang"
32
- export CFLAGS =" -arch arm64"
33
- export LDFLAGS =" -L/usr/local/lib -lX11 -lGL"
32
+ export XCFLAGS =" -arch arm64"
33
+ export XLDFLAGS =" -L/usr/local/lib -lX11 -lGL"
34
34
fi
35
35
make HAVE_X11=no HAVE_GLUT=no prefix=../../install_${OS} _${ARCH} install
36
36
fi
You can’t perform that action at this time.
0 commit comments