Skip to content

Commit eb22dfa

Browse files
committed
Test GNUStep libobjc2 v2.1 as well
1 parent aca6ed5 commit eb22dfa

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ jobs:
8484
target: x86_64-unknown-linux-gnu
8585
runtime: gnustep-2-0
8686
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"
8792
- name: Test GNUStep 32bit
8893
os: ubuntu-latest
8994
target: i686-unknown-linux-gnu
@@ -246,6 +251,18 @@ jobs:
246251
run: |
247252
wget https://github.com/gnustep/libobjc2/archive/refs/tags/v${{ matrix.libobjc2 }}.tar.gz
248253
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+
249266
mkdir -p libobjc2-${{ matrix.libobjc2 }}/build
250267
cd libobjc2-${{ matrix.libobjc2 }}/build
251268
cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=$HOME/extern -DTESTS=OFF ..

0 commit comments

Comments
 (0)