Skip to content

Commit 60d72a9

Browse files
authored
Merge pull request #124 from thejpster/fix-ci
Always run final job.
2 parents 499204d + 93b1422 commit 60d72a9

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,6 @@ jobs:
362362
export PATH=/opt/qemu/bin:$PATH
363363
just test-qemu-v7a
364364
365-
366365
# Run some programs in QEMU 9 for Armv7-R
367366
# These tests build with nightly as pinned by the rust-toolchain.toml file, because they include Tier 3 targets
368367
test-qemu-v7r:
@@ -384,7 +383,7 @@ jobs:
384383
run: |
385384
export PATH=/opt/qemu/bin:$PATH
386385
just test-qemu-v7r
387-
386+
388387
# Run some programs in QEMU 9 for Armv8-R
389388
# These tests build with nightly as pinned by the rust-toolchain.toml file, because they include Tier 3 targets
390389
test-qemu-v8r:
@@ -410,13 +409,22 @@ jobs:
410409
# Gather all the above QEMU jobs together for the purposes of getting an overall pass-fail
411410
test-qemu-all:
412411
runs-on: ubuntu-24.04
413-
needs: [test-qemu-v4t, test-qemu-v5te, test-qemu-v6, test-qemu-v7a, test-qemu-v7r, test-qemu-v8r]
412+
needs:
413+
[
414+
test-qemu-v4t,
415+
test-qemu-v5te,
416+
test-qemu-v6,
417+
test-qemu-v7a,
418+
test-qemu-v7r,
419+
test-qemu-v8r,
420+
]
414421
steps:
415422
- run: /bin/true
416423

417424
# Gather all the above xxx-all jobs together for the purposes of getting an overall pass-fail
418425
all:
419426
runs-on: ubuntu-24.04
420427
needs: [docs-all, build-all, fmt-all, unit-test-all, test-qemu-all] # not gating on clippy-all
428+
if: failure()
421429
steps:
422-
- run: /bin/true
430+
- run: exit 1

0 commit comments

Comments
 (0)