43
43
if : fromJSON(needs.build-context.outputs.run-docs)
44
44
uses : ./.github/workflows/reusable-docs.yml
45
45
46
- check_abi :
46
+ check-abi :
47
47
name : ' Check if the ABI has changed'
48
48
runs-on : ubuntu-22.04 # 24.04 causes spurious errors
49
49
needs : build-context
88
88
name : abi-data
89
89
path : ./Doc/data/*.abi
90
90
91
- check_autoconf_regen :
91
+ check-autoconf-regen :
92
92
name : ' Check if Autoconf files are up to date'
93
93
# Don't use ubuntu-latest but a specific version to make the job
94
94
# reproducible: to get the same tools versions (autoconf, aclocal, ...)
@@ -131,7 +131,7 @@ jobs:
131
131
exit 1
132
132
fi
133
133
134
- check_generated_files :
134
+ check-generated-files :
135
135
name : ' Check if generated files are up to date'
136
136
# Don't use ubuntu-latest but a specific version to make the job
137
137
# reproducible: to get the same tools versions (autoconf, aclocal, ...)
@@ -192,7 +192,7 @@ jobs:
192
192
if : github.event_name == 'pull_request' # $GITHUB_EVENT_NAME
193
193
run : make check-c-globals
194
194
195
- build_windows :
195
+ build-windows :
196
196
name : >-
197
197
Windows
198
198
${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
@@ -224,7 +224,7 @@ jobs:
224
224
arch : ${{ matrix.arch }}
225
225
free-threading : ${{ matrix.free-threading }}
226
226
227
- build_windows_msi :
227
+ build-windows-msi :
228
228
name : >- # ${{ '' } is a hack to nest jobs under the same sidebar category
229
229
Windows MSI${{ '' }}
230
230
needs : build-context
@@ -239,7 +239,7 @@ jobs:
239
239
with :
240
240
arch : ${{ matrix.arch }}
241
241
242
- build_macos :
242
+ build-macos :
243
243
name : >-
244
244
macOS
245
245
${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
@@ -273,7 +273,7 @@ jobs:
273
273
free-threading : ${{ matrix.free-threading }}
274
274
os : ${{ matrix.os }}
275
275
276
- build_ubuntu :
276
+ build-ubuntu :
277
277
name : >-
278
278
Ubuntu
279
279
${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
@@ -289,7 +289,7 @@ jobs:
289
289
config_hash : ${{ needs.build-context.outputs.config-hash }}
290
290
free-threading : ${{ matrix.free-threading }}
291
291
292
- build_ubuntu_ssltests :
292
+ build-ubuntu-ssltests :
293
293
name : ' Ubuntu SSL tests with OpenSSL'
294
294
runs-on : ${{ matrix.os }}
295
295
timeout-minutes : 60
@@ -350,15 +350,15 @@ jobs:
350
350
- name : SSL tests
351
351
run : ./python Lib/test/ssltests.py
352
352
353
- build_wasi :
353
+ build-wasi :
354
354
name : ' WASI'
355
355
needs : build-context
356
356
if : needs.build-context.outputs.run-tests == 'true'
357
357
uses : ./.github/workflows/reusable-wasi.yml
358
358
with :
359
359
config_hash : ${{ needs.build-context.outputs.config-hash }}
360
360
361
- test_hypothesis :
361
+ test-hypothesis :
362
362
name : " Hypothesis tests on Ubuntu"
363
363
runs-on : ubuntu-24.04
364
364
timeout-minutes : 60
@@ -472,8 +472,7 @@ jobs:
472
472
name : hypothesis-example-db
473
473
path : .hypothesis/examples/
474
474
475
-
476
- build_asan :
475
+ build-asan :
477
476
name : ' Address sanitizer'
478
477
runs-on : ${{ matrix.os }}
479
478
timeout-minutes : 60
@@ -536,7 +535,7 @@ jobs:
536
535
- name : Tests
537
536
run : xvfb-run make test
538
537
539
- build_tsan :
538
+ build-tsan :
540
539
name : >-
541
540
Thread sanitizer
542
541
${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
@@ -580,8 +579,8 @@ jobs:
580
579
output-sarif : true
581
580
sanitizer : ${{ matrix.sanitizer }}
582
581
- name : Upload crash
583
- uses : actions/upload-artifact@v4
584
582
if : failure() && steps.build.outcome == 'success'
583
+ uses : actions/upload-artifact@v4
585
584
with :
586
585
name : ${{ matrix.sanitizer }}-artifacts
587
586
path : ./out/artifacts
@@ -594,35 +593,34 @@ jobs:
594
593
595
594
all-required-green : # This job does nothing and is only used for the branch protection
596
595
name : All required checks pass
597
- if : always()
598
-
596
+ runs-on : ubuntu-latest
597
+ timeout-minutes : 5
599
598
needs :
600
599
- build-context # Transitive dependency, needed to access `run-tests` value
601
600
- check-docs
602
- - check_autoconf_regen
603
- - check_generated_files
604
- - build_macos
605
- - build_ubuntu
606
- - build_ubuntu_ssltests
607
- - build_wasi
608
- - build_windows
609
- - build_windows_msi
610
- - test_hypothesis
611
- - build_asan
612
- - build_tsan
601
+ - check-autoconf-regen
602
+ - check-generated-files
603
+ - build-windows
604
+ - build-windows-msi
605
+ - build-macos
606
+ - build-ubuntu
607
+ - build-ubuntu-ssltests
608
+ - build-wasi
609
+ - test-hypothesis
610
+ - build-asan
611
+ - build-tsan
613
612
- cifuzz
614
-
615
- runs-on : ubuntu-latest
613
+ if : always()
616
614
617
615
steps :
618
616
- name : Check whether the needed jobs succeeded or failed
619
617
uses : re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe
620
618
with :
621
619
allowed-failures : >-
622
- build_ubuntu_ssltests,
623
- build_windows_msi,
620
+ build-windows-msi,
621
+ build-ubuntu-ssltests,
622
+ test-hypothesis,
624
623
cifuzz,
625
- test_hypothesis,
626
624
allowed-skips : >-
627
625
${{
628
626
!fromJSON(needs.build-context.outputs.run-docs)
@@ -634,22 +632,22 @@ jobs:
634
632
${{
635
633
needs.build-context.outputs.run-tests != 'true'
636
634
&& '
637
- check_autoconf_regen ,
638
- check_generated_files ,
639
- build_macos ,
640
- build_ubuntu ,
641
- build_ubuntu_ssltests ,
642
- build_wasi ,
643
- build_asan ,
644
- build_tsan ,
645
- test_hypothesis ,
635
+ check-autoconf-regen ,
636
+ check-generated-files ,
637
+ build-macos ,
638
+ build-ubuntu ,
639
+ build-ubuntu-ssltests ,
640
+ build-wasi ,
641
+ test-hypothesis ,
642
+ build-asan ,
643
+ build-tsan ,
646
644
'
647
645
|| ''
648
646
}}
649
647
${{
650
648
!fromJSON(needs.build-context.outputs.run-windows-tests)
651
649
&& '
652
- build_windows ,
650
+ build-windows ,
653
651
'
654
652
|| ''
655
653
}}
0 commit comments