File tree Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -10,19 +10,22 @@ jobs:
10
10
target :
11
11
- x86_64-unknown-linux-gnu
12
12
- aarch64-unknown-linux-gnu
13
- - mips64el -unknown-linux-gnuabi64
13
+ - mips64 -unknown-linux-gnuabi64
14
14
- x86_64-apple-darwin
15
+ - aarch64-apple-darwin
15
16
- x86_64-pc-windows-msvc
16
17
rust : [stable]
17
18
include :
18
19
- target : x86_64-unknown-linux-gnu
19
20
os : ubuntu-18.04
20
21
- target : aarch64-unknown-linux-gnu
21
22
os : ubuntu-18.04
22
- - target : mips64el -unknown-linux-gnuabi64
23
+ - target : mips64 -unknown-linux-gnuabi64
23
24
os : ubuntu-18.04
24
25
- target : x86_64-apple-darwin
25
26
os : macos-latest
27
+ - target : aarch64-apple-darwin
28
+ os : macos-11.0
26
29
- target : x86_64-pc-windows-msvc
27
30
os : windows-latest
28
31
steps :
@@ -40,11 +43,11 @@ jobs:
40
43
sudo apt-get update -y
41
44
sudo apt-get install -y --no-install-recommends gcc-aarch64-linux-gnu libc6-dev-arm64-cross
42
45
shell : bash
43
- - name : Install GCC (mips64el -unknown-linux-gnuabi64)
44
- if : ${{ matrix.target == 'mips64el -unknown-linux-gnuabi64' }}
46
+ - name : Install GCC (mips64 -unknown-linux-gnuabi64)
47
+ if : ${{ matrix.target == 'mips64 -unknown-linux-gnuabi64' }}
45
48
run : |
46
49
sudo apt-get update -y
47
- sudo apt-get install -y --no-install-recommends gcc-mips64el -linux-gnuabi64 libc6-dev-mips64el -cross
50
+ sudo apt-get install -y --no-install-recommends gcc-mips64 -linux-gnuabi64 libc6-dev-mips64 -cross
48
51
shell : bash
49
52
- name : Build ${{ matrix.lua }}
50
53
run : |
Original file line number Diff line number Diff line change @@ -86,10 +86,15 @@ impl Build {
86
86
make. current_dir ( build_dir. join ( "src" ) ) ;
87
87
make. arg ( "-e" ) ;
88
88
89
- if target == "x86_64-apple-darwin" {
90
- // 10.15 causes segmentation fault on github ci
91
- make. env ( "MACOSX_DEPLOYMENT_TARGET" , "10.11" ) ;
92
- make. env ( "XCFLAGS" , "-DLUAJIT_ENABLE_GC64" ) ;
89
+ match target {
90
+ "x86_64-apple-darwin" => {
91
+ // 10.15 causes segmentation fault on github ci
92
+ make. env ( "MACOSX_DEPLOYMENT_TARGET" , "10.11" ) ;
93
+ }
94
+ "aarch64-apple-darwin" => {
95
+ make. env ( "MACOSX_DEPLOYMENT_TARGET" , "11.0" ) ;
96
+ }
97
+ _ => { }
93
98
}
94
99
95
100
// Infer ar/ranlib tools from cross compilers if the it looks like
You can’t perform that action at this time.
0 commit comments