@@ -142,6 +142,9 @@ jobs:
142142 - name : Check for unsupported C global variables
143143 if : github.event_name == 'pull_request' # $GITHUB_EVENT_NAME
144144 run : make check-c-globals
145+ - name : Check for undocumented C APIs
146+ run : make check-c-api-docs
147+
145148
146149 build-windows :
147150 name : >-
@@ -188,7 +191,7 @@ jobs:
188191 macOS
189192 ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
190193 needs : build-context
191- if : needs.build-context.outputs.run-tests == 'true'
194+ if : needs.build-context.outputs.run-macos == 'true'
192195 strategy :
193196 fail-fast : false
194197 matrix :
@@ -214,7 +217,7 @@ jobs:
214217 ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
215218 ${{ fromJSON(matrix.bolt) && '(bolt)' || '' }}
216219 needs : build-context
217- if : needs.build-context.outputs.run-tests == 'true'
220+ if : needs.build-context.outputs.run-ubuntu == 'true'
218221 strategy :
219222 fail-fast : false
220223 matrix :
@@ -245,7 +248,7 @@ jobs:
245248 runs-on : ${{ matrix.os }}
246249 timeout-minutes : 60
247250 needs : build-context
248- if : needs.build-context.outputs.run-tests == 'true'
251+ if : needs.build-context.outputs.run-ubuntu == 'true'
249252 strategy :
250253 fail-fast : false
251254 matrix :
@@ -301,7 +304,7 @@ jobs:
301304 runs-on : ${{ matrix.os }}
302305 timeout-minutes : 60
303306 needs : build-context
304- if : needs.build-context.outputs.run-tests == 'true'
307+ if : needs.build-context.outputs.run-ubuntu == 'true'
305308 strategy :
306309 fail-fast : false
307310 matrix :
@@ -365,7 +368,7 @@ jobs:
365368 build-android :
366369 name : Android (${{ matrix.arch }})
367370 needs : build-context
368- if : needs.build-context.outputs.run-tests == 'true'
371+ if : needs.build-context.outputs.run-android == 'true'
369372 timeout-minutes : 60
370373 strategy :
371374 fail-fast : false
@@ -387,9 +390,9 @@ jobs:
387390 build-ios :
388391 name : iOS
389392 needs : build-context
390- if : needs.build-context.outputs.run-tests == 'true'
393+ if : needs.build-context.outputs.run-ios == 'true'
391394 timeout-minutes : 60
392- runs-on : macos-15
395+ runs-on : macos-14
393396 steps :
394397 - uses : actions/checkout@v4
395398 with :
@@ -402,23 +405,23 @@ jobs:
402405 # https://github.com/actions/runner-images/issues/12751.
403406 - name : Select Xcode version
404407 run : |
405- sudo xcode-select --switch /Applications/Xcode_16 .4.app
408+ sudo xcode-select --switch /Applications/Xcode_15 .4.app
406409
407410 - name : Build and test
408- run : python3 Apple ci iOS --fast-ci --simulator 'iPhone 16e ,OS=18 .5'
411+ run : python3 Apple ci iOS --fast-ci --simulator 'iPhone SE (3rd generation) ,OS=17 .5'
409412
410413 build-wasi :
411414 name : ' WASI'
412415 needs : build-context
413- if : needs.build-context.outputs.run-tests == 'true'
416+ if : needs.build-context.outputs.run-wasi == 'true'
414417 uses : ./.github/workflows/reusable-wasi.yml
415418
416419 test-hypothesis :
417420 name : " Hypothesis tests on Ubuntu"
418421 runs-on : ubuntu-24.04
419422 timeout-minutes : 60
420423 needs : build-context
421- if : needs.build-context.outputs.run-tests == 'true'
424+ if : needs.build-context.outputs.run-ubuntu == 'true'
422425 env :
423426 OPENSSL_VER : 3.0.18
424427 PYTHONSTRICTEXTENSIONBUILD : 1
@@ -525,7 +528,7 @@ jobs:
525528 runs-on : ${{ matrix.os }}
526529 timeout-minutes : 60
527530 needs : build-context
528- if : needs.build-context.outputs.run-tests == 'true'
531+ if : needs.build-context.outputs.run-ubuntu == 'true'
529532 strategy :
530533 fail-fast : false
531534 matrix :
@@ -578,7 +581,7 @@ jobs:
578581 # ${{ '' } is a hack to nest jobs under the same sidebar category.
579582 name : Sanitizers${{ '' }} # zizmor: ignore[obfuscation]
580583 needs : build-context
581- if : needs.build-context.outputs.run-tests == 'true'
584+ if : needs.build-context.outputs.run-ubuntu == 'true'
582585 strategy :
583586 fail-fast : false
584587 matrix :
@@ -603,7 +606,7 @@ jobs:
603606 runs-on : ubuntu-latest
604607 timeout-minutes : 60
605608 needs : build-context
606- if : needs.build-context.outputs.run-tests == 'true'
609+ if : needs.build-context.outputs.run-ubuntu == 'true'
607610 steps :
608611 - uses : actions/checkout@v4
609612 with :
@@ -703,50 +706,39 @@ jobs:
703706 uses : re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe
704707 with :
705708 allowed-failures : >-
709+ build-ios,
706710 build-windows-msi,
707711 build-ubuntu-ssltests-awslc,
708712 build-ubuntu-ssltests-openssl,
709713 test-hypothesis,
710714 cifuzz,
711715 allowed-skips : >-
716+ ${{ !fromJSON(needs.build-context.outputs.run-docs) && 'check-docs,' || '' }}
712717 ${{
713- !fromJSON( needs.build-context.outputs.run-docs)
718+ needs.build-context.outputs.run-tests != 'true'
714719 && '
715- check-docs,
720+ check-autoconf-regen,
721+ check-generated-files,
716722 '
717723 || ''
718724 }}
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,' || '' }}
719728 ${{
720- needs.build-context.outputs.run-tests != 'true'
729+ !fromJSON( needs.build-context.outputs.run-ubuntu)
721730 && '
722- check-autoconf-regen,
723- check-generated-files,
724- build-macos,
725731 build-ubuntu,
726732 build-ubuntu-ssltests-awslc,
727733 build-ubuntu-ssltests-openssl,
728- build-android,
729- build-ios,
730- build-wasi,
731734 test-hypothesis,
732735 build-asan,
733736 build-san,
734737 cross-build-linux,
735738 '
736739 || ''
737740 }}
738- ${{
739- !fromJSON(needs.build-context.outputs.run-windows-tests)
740- && '
741- build-windows,
742- '
743- || ''
744- }}
745- ${{
746- !fromJSON(needs.build-context.outputs.run-ci-fuzz)
747- && '
748- cifuzz,
749- '
750- || ''
751- }}
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,' || '' }}
752744 jobs : ${{ toJSON(needs) }}
0 commit comments