Skip to content

Commit b4c087f

Browse files
committed
Test ObjFW in CI
1 parent 3d3a6c7 commit b4c087f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ci.yml

+32
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434

3535
test:
3636
name: ${{ matrix.name }}
37+
if: false # Temporarily disabled
3738

3839
strategy:
3940
fail-fast: false
@@ -270,3 +271,34 @@ jobs:
270271
command: test
271272
# Not using --all-features because that would enable e.g. gnustep
272273
args: --no-fail-fast --features ${{ env.FEATURES }},${{ env.UNSTABLE_FEATURES }} ${{ matrix.args }} ${{ matrix.test-args }}
274+
275+
test_objfw:
276+
name: Test ObjFW
277+
278+
runs-on: ubuntu-latest
279+
280+
steps:
281+
- uses: actions/checkout@v2
282+
283+
- name: Install Clang
284+
if: contains(matrix.os, 'ubuntu')
285+
run: sudo apt-get -y install clang
286+
287+
- name: Set up ObjFW
288+
run: |
289+
wget https://objfw.nil.im/downloads/objfw-0.90.2.tar.gz
290+
tar -xzf objfw-0.90.2.tar.gz
291+
cd objfw-0.90.2
292+
autoreconf
293+
./configure --prefix=$HOME/objfw
294+
make
295+
make install
296+
ls -al $HOME/objfw/*
297+
298+
- name: Install Rust toolchain
299+
uses: actions-rs/toolchain@v1
300+
with:
301+
override: true
302+
303+
- name: Test
304+
run: cargo test --no-fail-fast -p objc2 --features objc-sys/objfw

0 commit comments

Comments
 (0)