Skip to content

Commit 24e9fce

Browse files
Allow the job to fail instead
1 parent d2782d5 commit 24e9fce

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,6 @@ jobs:
558558
- Thread
559559
free-threading:
560560
- false
561-
- true
562561
sanitizer:
563562
- TSan
564563
include:
@@ -570,6 +569,17 @@ jobs:
570569
sanitizer: ${{ matrix.sanitizer }}
571570
free-threading: ${{ matrix.free-threading }}
572571

572+
# XXX: Temporarily allow this job to fail to not block PRs.
573+
build-san-free-threading:
574+
# ${{ '' } is a hack to nest jobs under the same sidebar category.
575+
name: Sanitizers${{ '' }} # zizmor: ignore[obfuscation]
576+
needs: build-context
577+
if: needs.build-context.outputs.run-ubuntu == 'true'
578+
uses: ./.github/workflows/reusable-san.yml
579+
with:
580+
sanitizer: TSan
581+
free-threading: true
582+
573583
cross-build-linux:
574584
name: Cross build Linux
575585
runs-on: ubuntu-latest
@@ -673,6 +683,7 @@ jobs:
673683
- test-hypothesis
674684
- build-asan
675685
- build-san
686+
- build-san-free-threading
676687
- cross-build-linux
677688
- cifuzz
678689
if: always()
@@ -684,6 +695,7 @@ jobs:
684695
allowed-failures: >-
685696
build-android,
686697
build-emscripten,
698+
build-san-free-threading,
687699
build-windows-msi,
688700
build-ubuntu-ssltests,
689701
test-hypothesis,

0 commit comments

Comments
 (0)