@@ -191,7 +191,7 @@ jobs:
191191 macOS
192192 ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
193193 needs : build-context
194- if : needs.build-context.outputs.run-tests == 'true'
194+ if : needs.build-context.outputs.run-macos == 'true'
195195 strategy :
196196 fail-fast : false
197197 matrix :
@@ -217,7 +217,7 @@ jobs:
217217 ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
218218 ${{ fromJSON(matrix.bolt) && '(bolt)' || '' }}
219219 needs : build-context
220- if : needs.build-context.outputs.run-tests == 'true'
220+ if : needs.build-context.outputs.run-ubuntu == 'true'
221221 strategy :
222222 fail-fast : false
223223 matrix :
@@ -248,7 +248,7 @@ jobs:
248248 runs-on : ${{ matrix.os }}
249249 timeout-minutes : 60
250250 needs : build-context
251- if : needs.build-context.outputs.run-tests == 'true'
251+ if : needs.build-context.outputs.run-ubuntu == 'true'
252252 strategy :
253253 fail-fast : false
254254 matrix :
@@ -304,7 +304,7 @@ jobs:
304304 runs-on : ${{ matrix.os }}
305305 timeout-minutes : 60
306306 needs : build-context
307- if : needs.build-context.outputs.run-tests == 'true'
307+ if : needs.build-context.outputs.run-ubuntu == 'true'
308308 strategy :
309309 fail-fast : false
310310 matrix :
@@ -368,7 +368,7 @@ jobs:
368368 build-android :
369369 name : Android (${{ matrix.arch }})
370370 needs : build-context
371- if : needs.build-context.outputs.run-tests == 'true'
371+ if : needs.build-context.outputs.run-android == 'true'
372372 timeout-minutes : 60
373373 strategy :
374374 fail-fast : false
@@ -390,7 +390,7 @@ jobs:
390390 build-ios :
391391 name : iOS
392392 needs : build-context
393- if : needs.build-context.outputs.run-tests == 'true'
393+ if : needs.build-context.outputs.run-ios == 'true'
394394 timeout-minutes : 60
395395 runs-on : macos-15
396396 steps :
@@ -413,15 +413,15 @@ jobs:
413413 build-wasi :
414414 name : ' WASI'
415415 needs : build-context
416- if : needs.build-context.outputs.run-tests == 'true'
416+ if : needs.build-context.outputs.run-wasi == 'true'
417417 uses : ./.github/workflows/reusable-wasi.yml
418418
419419 test-hypothesis :
420420 name : " Hypothesis tests on Ubuntu"
421421 runs-on : ubuntu-24.04
422422 timeout-minutes : 60
423423 needs : build-context
424- if : needs.build-context.outputs.run-tests == 'true'
424+ if : needs.build-context.outputs.run-ubuntu == 'true'
425425 env :
426426 OPENSSL_VER : 3.0.18
427427 PYTHONSTRICTEXTENSIONBUILD : 1
@@ -528,7 +528,7 @@ jobs:
528528 runs-on : ${{ matrix.os }}
529529 timeout-minutes : 60
530530 needs : build-context
531- if : needs.build-context.outputs.run-tests == 'true'
531+ if : needs.build-context.outputs.run-ubuntu == 'true'
532532 strategy :
533533 fail-fast : false
534534 matrix :
@@ -581,7 +581,7 @@ jobs:
581581 # ${{ '' } is a hack to nest jobs under the same sidebar category.
582582 name : Sanitizers${{ '' }} # zizmor: ignore[obfuscation]
583583 needs : build-context
584- if : needs.build-context.outputs.run-tests == 'true'
584+ if : needs.build-context.outputs.run-ubuntu == 'true'
585585 strategy :
586586 fail-fast : false
587587 matrix :
@@ -606,7 +606,7 @@ jobs:
606606 runs-on : ubuntu-latest
607607 timeout-minutes : 60
608608 needs : build-context
609- if : needs.build-context.outputs.run-tests == 'true'
609+ if : needs.build-context.outputs.run-ubuntu == 'true'
610610 steps :
611611 - uses : actions/checkout@v4
612612 with :
@@ -706,50 +706,39 @@ jobs:
706706 uses : re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe
707707 with :
708708 allowed-failures : >-
709+ build-ios,
709710 build-windows-msi,
710711 build-ubuntu-ssltests-awslc,
711712 build-ubuntu-ssltests-openssl,
712713 test-hypothesis,
713714 cifuzz,
714715 allowed-skips : >-
716+ ${{ !fromJSON(needs.build-context.outputs.run-docs) && 'check-docs,' || '' }}
715717 ${{
716- !fromJSON( needs.build-context.outputs.run-docs)
718+ needs.build-context.outputs.run-tests != 'true'
717719 && '
718- check-docs,
720+ check-autoconf-regen,
721+ check-generated-files,
719722 '
720723 || ''
721724 }}
725+ ${{ !fromJSON(needs.build-context.outputs.run-windows-tests) && 'build-windows,' || '' }}
726+ ${{ !fromJSON(needs.build-context.outputs.run-ci-fuzz) && 'cifuzz,' || '' }}
727+ ${{ !fromJSON(needs.build-context.outputs.run-macos) && 'build-macos,' || '' }}
722728 ${{
723- needs.build-context.outputs.run-tests != 'true'
729+ !fromJSON( needs.build-context.outputs.run-ubuntu)
724730 && '
725- check-autoconf-regen,
726- check-generated-files,
727- build-macos,
728731 build-ubuntu,
729732 build-ubuntu-ssltests-awslc,
730733 build-ubuntu-ssltests-openssl,
731- build-android,
732- build-ios,
733- build-wasi,
734734 test-hypothesis,
735735 build-asan,
736736 build-san,
737737 cross-build-linux,
738738 '
739739 || ''
740740 }}
741- ${{
742- !fromJSON(needs.build-context.outputs.run-windows-tests)
743- && '
744- build-windows,
745- '
746- || ''
747- }}
748- ${{
749- !fromJSON(needs.build-context.outputs.run-ci-fuzz)
750- && '
751- cifuzz,
752- '
753- || ''
754- }}
741+ ${{ !fromJSON(needs.build-context.outputs.run-android) && 'build-android,' || '' }}
742+ ${{ !fromJSON(needs.build-context.outputs.run-ios) && 'build-ios,' || '' }}
743+ ${{ !fromJSON(needs.build-context.outputs.run-wasi) && 'build-wasi,' || '' }}
755744 jobs : ${{ toJSON(needs) }}
0 commit comments