43
43
if : fromJSON(needs.build-context.outputs.run-docs)
44
44
uses : ./.github/workflows/reusable-docs.yml
45
45
46
- check_autoconf_regen :
46
+ check-autoconf-regen :
47
47
name : ' Check if Autoconf files are up to date'
48
48
# Don't use ubuntu-latest but a specific version to make the job
49
49
# reproducible: to get the same tools versions (autoconf, aclocal, ...)
86
86
exit 1
87
87
fi
88
88
89
- check_generated_files :
89
+ check-generated-files :
90
90
name : ' Check if generated files are up to date'
91
91
# Don't use ubuntu-latest but a specific version to make the job
92
92
# reproducible: to get the same tools versions (autoconf, aclocal, ...)
@@ -147,7 +147,7 @@ jobs:
147
147
if : github.event_name == 'pull_request' # $GITHUB_EVENT_NAME
148
148
run : make check-c-globals
149
149
150
- build_windows :
150
+ build-windows :
151
151
name : >-
152
152
Windows
153
153
${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
@@ -179,7 +179,7 @@ jobs:
179
179
arch : ${{ matrix.arch }}
180
180
free-threading : ${{ matrix.free-threading }}
181
181
182
- build_windows_msi :
182
+ build-windows-msi :
183
183
name : >- # ${{ '' } is a hack to nest jobs under the same sidebar category
184
184
Windows MSI${{ '' }}
185
185
needs : build-context
@@ -194,7 +194,7 @@ jobs:
194
194
with :
195
195
arch : ${{ matrix.arch }}
196
196
197
- build_macos :
197
+ build-macos :
198
198
name : >-
199
199
macOS
200
200
${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
@@ -228,7 +228,7 @@ jobs:
228
228
free-threading : ${{ matrix.free-threading }}
229
229
os : ${{ matrix.os }}
230
230
231
- build_ubuntu :
231
+ build-ubuntu :
232
232
name : >-
233
233
Ubuntu
234
234
${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
@@ -245,13 +245,13 @@ jobs:
245
245
- true
246
246
os :
247
247
- ubuntu-24.04
248
- - ubuntu-22 .04-arm
248
+ - ubuntu-24 .04-arm
249
249
exclude :
250
250
# Do not test BOLT with free-threading, to conserve resources
251
251
- bolt : true
252
252
free-threading : true
253
253
# BOLT currently crashes during instrumentation on aarch64
254
- - os : ubuntu-22 .04-arm
254
+ - os : ubuntu-24 .04-arm
255
255
bolt : true
256
256
uses : ./.github/workflows/reusable-ubuntu.yml
257
257
with :
@@ -260,7 +260,7 @@ jobs:
260
260
free-threading : ${{ matrix.free-threading }}
261
261
os : ${{ matrix.os }}
262
262
263
- build_ubuntu_ssltests :
263
+ build-ubuntu-ssltests :
264
264
name : ' Ubuntu SSL tests with OpenSSL'
265
265
runs-on : ${{ matrix.os }}
266
266
timeout-minutes : 60
@@ -322,15 +322,15 @@ jobs:
322
322
- name : SSL tests
323
323
run : ./python Lib/test/ssltests.py
324
324
325
- build_wasi :
325
+ build-wasi :
326
326
name : ' WASI'
327
327
needs : build-context
328
328
if : needs.build-context.outputs.run-tests == 'true'
329
329
uses : ./.github/workflows/reusable-wasi.yml
330
330
with :
331
331
config_hash : ${{ needs.build-context.outputs.config-hash }}
332
332
333
- test_hypothesis :
333
+ test-hypothesis :
334
334
name : " Hypothesis tests on Ubuntu"
335
335
runs-on : ubuntu-24.04
336
336
timeout-minutes : 60
@@ -445,8 +445,7 @@ jobs:
445
445
name : hypothesis-example-db
446
446
path : ${{ env.CPYTHON_BUILDDIR }}/.hypothesis/examples/
447
447
448
-
449
- build_asan :
448
+ build-asan :
450
449
name : ' Address sanitizer'
451
450
runs-on : ${{ matrix.os }}
452
451
timeout-minutes : 60
@@ -509,7 +508,7 @@ jobs:
509
508
- name : Tests
510
509
run : xvfb-run make ci
511
510
512
- build_tsan :
511
+ build-tsan :
513
512
name : >-
514
513
Thread sanitizer
515
514
${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
@@ -528,6 +527,7 @@ jobs:
528
527
cross-build-linux :
529
528
name : Cross build Linux
530
529
runs-on : ubuntu-latest
530
+ timeout-minutes : 60
531
531
needs : build-context
532
532
if : needs.build-context.outputs.run-tests == 'true'
533
533
steps :
@@ -592,8 +592,8 @@ jobs:
592
592
output-sarif : true
593
593
sanitizer : ${{ matrix.sanitizer }}
594
594
- name : Upload crash
595
- uses : actions/upload-artifact@v4
596
595
if : failure() && steps.build.outcome == 'success'
596
+ uses : actions/upload-artifact@v4
597
597
with :
598
598
name : ${{ matrix.sanitizer }}-artifacts
599
599
path : ./out/artifacts
@@ -606,36 +606,35 @@ jobs:
606
606
607
607
all-required-green : # This job does nothing and is only used for the branch protection
608
608
name : All required checks pass
609
- if : always()
610
-
609
+ runs-on : ubuntu-latest
610
+ timeout-minutes : 5
611
611
needs :
612
612
- build-context # Transitive dependency, needed to access `run-tests` value
613
613
- check-docs
614
- - check_autoconf_regen
615
- - check_generated_files
616
- - build_macos
617
- - build_ubuntu
618
- - build_ubuntu_ssltests
619
- - build_wasi
620
- - build_windows
621
- - build_windows_msi
614
+ - check-autoconf-regen
615
+ - check-generated-files
616
+ - build-windows
617
+ - build-windows-msi
618
+ - build-macos
619
+ - build-ubuntu
620
+ - build-ubuntu-ssltests
621
+ - build-wasi
622
+ - test-hypothesis
623
+ - build-asan
624
+ - build-tsan
622
625
- cross-build-linux
623
- - test_hypothesis
624
- - build_asan
625
- - build_tsan
626
626
- cifuzz
627
-
628
- runs-on : ubuntu-latest
627
+ if : always()
629
628
630
629
steps :
631
630
- name : Check whether the needed jobs succeeded or failed
632
631
uses : re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe
633
632
with :
634
633
allowed-failures : >-
635
- build_ubuntu_ssltests,
636
- build_windows_msi,
634
+ build-windows-msi,
635
+ build-ubuntu-ssltests,
636
+ test-hypothesis,
637
637
cifuzz,
638
- test_hypothesis,
639
638
allowed-skips : >-
640
639
${{
641
640
!fromJSON(needs.build-context.outputs.run-docs)
@@ -647,23 +646,23 @@ jobs:
647
646
${{
648
647
needs.build-context.outputs.run-tests != 'true'
649
648
&& '
650
- check_autoconf_regen ,
651
- check_generated_files ,
652
- build_macos ,
653
- build_ubuntu ,
654
- build_ubuntu_ssltests ,
655
- build_wasi ,
656
- build_asan ,
657
- build_tsan ,
658
- test_hypothesis ,
649
+ check-autoconf-regen ,
650
+ check-generated-files ,
651
+ build-macos ,
652
+ build-ubuntu ,
653
+ build-ubuntu-ssltests ,
654
+ build-wasi ,
655
+ test-hypothesis ,
656
+ build-asan ,
657
+ build-tsan ,
659
658
cross-build-linux,
660
659
'
661
660
|| ''
662
661
}}
663
662
${{
664
663
!fromJSON(needs.build-context.outputs.run-windows-tests)
665
664
&& '
666
- build_windows ,
665
+ build-windows ,
667
666
'
668
667
|| ''
669
668
}}
0 commit comments