@@ -238,7 +238,7 @@ jobs:
238238 macOS
239239 ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
240240 needs : build-context
241- if : needs.build-context.outputs.run-tests == 'true'
241+ if : needs.build-context.outputs.run-macos == 'true'
242242 strategy :
243243 fail-fast : false
244244 matrix :
@@ -264,7 +264,7 @@ jobs:
264264 ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
265265 ${{ fromJSON(matrix.bolt) && '(bolt)' || '' }}
266266 needs : build-context
267- if : needs.build-context.outputs.run-tests == 'true'
267+ if : needs.build-context.outputs.run-ubuntu == 'true'
268268 strategy :
269269 fail-fast : false
270270 matrix :
@@ -295,7 +295,7 @@ jobs:
295295 runs-on : ${{ matrix.os }}
296296 timeout-minutes : 60
297297 needs : build-context
298- if : needs.build-context.outputs.run-tests == 'true'
298+ if : needs.build-context.outputs.run-ubuntu == 'true'
299299 strategy :
300300 fail-fast : false
301301 matrix :
@@ -349,7 +349,7 @@ jobs:
349349 build-android :
350350 name : Android (${{ matrix.arch }})
351351 needs : build-context
352- if : needs.build-context.outputs.run-tests == 'true'
352+ if : needs.build-context.outputs.run-android == 'true'
353353 timeout-minutes : 60
354354 strategy :
355355 fail-fast : false
@@ -371,9 +371,9 @@ jobs:
371371 build-ios :
372372 name : iOS
373373 needs : build-context
374- if : needs.build-context.outputs.run-tests == 'true'
374+ if : needs.build-context.outputs.run-ios == 'true'
375375 timeout-minutes : 60
376- runs-on : macos-15
376+ runs-on : macos-14
377377 steps :
378378 - uses : actions/checkout@v4
379379 with :
@@ -386,23 +386,23 @@ jobs:
386386 # https://github.com/actions/runner-images/issues/12751.
387387 - name : Select Xcode version
388388 run : |
389- sudo xcode-select --switch /Applications/Xcode_16 .4.app
389+ sudo xcode-select --switch /Applications/Xcode_15 .4.app
390390
391391 - name : Build and test
392- run : python3 Apple ci iOS --fast-ci --simulator 'iPhone 16e ,OS=18 .5'
392+ run : python3 Apple ci iOS --fast-ci --simulator 'iPhone SE (3rd generation) ,OS=17 .5'
393393
394394 build-wasi :
395395 name : ' WASI'
396396 needs : build-context
397- if : needs.build-context.outputs.run-tests == 'true'
397+ if : needs.build-context.outputs.run-wasi == 'true'
398398 uses : ./.github/workflows/reusable-wasi.yml
399399
400400 test-hypothesis :
401401 name : " Hypothesis tests on Ubuntu"
402402 runs-on : ubuntu-24.04
403403 timeout-minutes : 60
404404 needs : build-context
405- if : needs.build-context.outputs.run-tests == 'true'
405+ if : needs.build-context.outputs.run-ubuntu == 'true'
406406 env :
407407 OPENSSL_VER : 3.0.18
408408 PYTHONSTRICTEXTENSIONBUILD : 1
@@ -509,7 +509,7 @@ jobs:
509509 runs-on : ${{ matrix.os }}
510510 timeout-minutes : 60
511511 needs : build-context
512- if : needs.build-context.outputs.run-tests == 'true'
512+ if : needs.build-context.outputs.run-ubuntu == 'true'
513513 strategy :
514514 fail-fast : false
515515 matrix :
@@ -562,7 +562,7 @@ jobs:
562562 # ${{ '' } is a hack to nest jobs under the same sidebar category.
563563 name : Sanitizers${{ '' }} # zizmor: ignore[obfuscation]
564564 needs : build-context
565- if : needs.build-context.outputs.run-tests == 'true'
565+ if : needs.build-context.outputs.run-ubuntu == 'true'
566566 strategy :
567567 fail-fast : false
568568 matrix :
@@ -587,7 +587,7 @@ jobs:
587587 runs-on : ubuntu-latest
588588 timeout-minutes : 60
589589 needs : build-context
590- if : needs.build-context.outputs.run-tests == 'true'
590+ if : needs.build-context.outputs.run-ubuntu == 'true'
591591 steps :
592592 - uses : actions/checkout@v4
593593 with :
@@ -691,43 +691,31 @@ jobs:
691691 test-hypothesis,
692692 cifuzz,
693693 allowed-skips : >-
694+ ${{ !fromJSON(needs.build-context.outputs.run-docs) && 'check-docs,' || '' }}
694695 ${{
695- !fromJSON( needs.build-context.outputs.run-docs)
696+ needs.build-context.outputs.run-tests != 'true'
696697 && '
697- check-docs,
698+ check-autoconf-regen,
699+ check-generated-files,
698700 '
699701 || ''
700702 }}
703+ ${{ !fromJSON(needs.build-context.outputs.run-windows-tests) && 'build-windows,' || '' }}
704+ ${{ !fromJSON(needs.build-context.outputs.run-ci-fuzz) && 'cifuzz,' || '' }}
705+ ${{ !fromJSON(needs.build-context.outputs.run-macos) && 'build-macos,' || '' }}
701706 ${{
702- needs.build-context.outputs.run-tests != 'true'
707+ !fromJSON( needs.build-context.outputs.run-ubuntu)
703708 && '
704- check-autoconf-regen,
705- check-generated-files,
706- build-macos,
707709 build-ubuntu,
708710 build-ubuntu-ssltests,
709- build-android,
710- build-ios,
711- build-wasi,
712711 test-hypothesis,
713712 build-asan,
714713 build-san,
715714 cross-build-linux,
716715 '
717716 || ''
718717 }}
719- ${{
720- !fromJSON(needs.build-context.outputs.run-windows-tests)
721- && '
722- build-windows,
723- '
724- || ''
725- }}
726- ${{
727- !fromJSON(needs.build-context.outputs.run-ci-fuzz)
728- && '
729- cifuzz,
730- '
731- || ''
732- }}
718+ ${{ !fromJSON(needs.build-context.outputs.run-android) && 'build-android,' || '' }}
719+ ${{ !fromJSON(needs.build-context.outputs.run-ios) && 'build-ios,' || '' }}
720+ ${{ !fromJSON(needs.build-context.outputs.run-wasi) && 'build-wasi,' || '' }}
733721 jobs : ${{ toJSON(needs) }}
0 commit comments