53
53
os : macos-11
54
54
target : x86_64-apple-darwin
55
55
# Oldest macOS version we support
56
- sdk : 10.7
56
+ sdk : " 10.7"
57
57
- name : Test macOS nightly w. ui tests
58
58
os : macos-latest
59
59
target : x86_64-apple-darwin
@@ -73,17 +73,29 @@ jobs:
73
73
# binary, only build it
74
74
test-args : --no-run
75
75
# Newest SDK that supports 32-bit
76
- sdk : 10.13
77
- - name : Test GNUStep
76
+ sdk : " 10.13"
77
+ - name : Test GNUStep with libobjc2 v1.9
78
78
os : ubuntu-latest
79
79
target : x86_64-unknown-linux-gnu
80
80
runtime : gnustep-1-9
81
+ libobjc2 : " 1.9"
82
+ - name : Test GNUStep with libobjc2 v2.0
83
+ os : ubuntu-latest
84
+ target : x86_64-unknown-linux-gnu
85
+ runtime : gnustep-2-0
86
+ libobjc2 : " 2.0"
87
+ - name : Test GNUStep with libobjc2 v2.1
88
+ os : ubuntu-latest
89
+ target : x86_64-unknown-linux-gnu
90
+ runtime : gnustep-2-1
91
+ libobjc2 : " 2.1"
81
92
- name : Test GNUStep 32bit
82
93
os : ubuntu-latest
83
94
target : i686-unknown-linux-gnu
84
95
cflags : -m32
85
96
configureflags : --target=x86-pc-linux-gnu
86
97
runtime : gnustep-1-9
98
+ libobjc2 : " 1.9"
87
99
- name : Test iOS simulator x86 64bit
88
100
os : macos-11
89
101
target : x86_64-apple-ios
@@ -234,13 +246,25 @@ jobs:
234
246
if : contains(matrix.runtime, 'gnustep') && steps.extern-cache.outputs.cache-hit != 'true'
235
247
run : sudo apt-get -y install make cmake
236
248
237
- - name : Install GNUStep libobjc2 v1.9
238
- if : contains( matrix.runtime, 'gnustep') && steps.extern-cache.outputs.cache-hit != 'true'
249
+ - name : Install GNUStep libobjc2
250
+ if : matrix.libobjc2 && steps.extern-cache.outputs.cache-hit != 'true'
239
251
run : |
240
- wget https://github.com/gnustep/libobjc2/archive/refs/tags/v1.9.tar.gz
241
- tar -xzf v1.9.tar.gz
242
- mkdir -p libobjc2-1.9/build
243
- cd libobjc2-1.9/build
252
+ wget https://github.com/gnustep/libobjc2/archive/refs/tags/v${{ matrix.libobjc2 }}.tar.gz
253
+ tar -xzf v${{ matrix.libobjc2 }}.tar.gz
254
+
255
+ # Install robin-map on v2.1
256
+ if test -d libobjc2-2.1; then
257
+ cd libobjc2-2.1/third_party
258
+ # Remove possibly existing `robin-map` folder
259
+ rm -rf robin-map
260
+ wget https://github.com/Tessil/robin-map/archive/757de829927489bee55ab02147484850c687b620.tar.gz
261
+ tar -xzf 757de829927489bee55ab02147484850c687b620.tar.gz
262
+ mv robin-map-757de829927489bee55ab02147484850c687b620 robin-map
263
+ cd ../..
264
+ fi
265
+
266
+ mkdir -p libobjc2-${{ matrix.libobjc2 }}/build
267
+ cd libobjc2-${{ matrix.libobjc2 }}/build
244
268
cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=$HOME/extern -DTESTS=OFF ..
245
269
make install
246
270
0 commit comments