Skip to content

Commit 115b8e3

Browse files
committed
Merge TSan and UBSan CI matrices
1 parent 694f071 commit 115b8e3

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -585,33 +585,31 @@ jobs:
585585
- name: Tests
586586
run: xvfb-run make ci
587587

588-
build-tsan:
589-
name: >-
590-
Thread sanitizer
591-
${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
588+
build-san:
589+
name: >- # ${{ '' } is a hack to nest jobs under the same sidebar category
590+
Sanitizers${{ '' }}
592591
needs: build-context
593592
if: needs.build-context.outputs.run-tests == 'true'
594593
strategy:
595594
fail-fast: false
596595
matrix:
596+
check-name:
597+
- Thread
597598
free-threading:
598599
- false
599600
- true
601+
sanitizer:
602+
- TSan
603+
include:
604+
- check-name: Undefined behavior
605+
sanitizer: UBSan
606+
free-threading: false
600607
uses: ./.github/workflows/reusable-san.yml
601608
with:
602-
sanitizer: TSan
609+
sanitizer: ${{ matrix.sanitizer }}
603610
config_hash: ${{ needs.build-context.outputs.config-hash }}
604611
free-threading: ${{ matrix.free-threading }}
605612

606-
build-ubsan:
607-
name: Undefined behavior sanitizer
608-
needs: build-context
609-
if: needs.build-context.outputs.run-tests == 'true'
610-
uses: ./.github/workflows/reusable-san.yml
611-
with:
612-
sanitizer: UBSan
613-
config_hash: ${{ needs.build-context.outputs.config-hash }}
614-
615613
cross-build-linux:
616614
name: Cross build Linux
617615
runs-on: ubuntu-latest
@@ -710,7 +708,7 @@ jobs:
710708
- build-wasi
711709
- test-hypothesis
712710
- build-asan
713-
- build-tsan
711+
- build-san
714712
- cross-build-linux
715713
- cifuzz
716714
if: always()
@@ -745,7 +743,7 @@ jobs:
745743
build-wasi,
746744
test-hypothesis,
747745
build-asan,
748-
build-tsan,
746+
build-san,
749747
cross-build-linux,
750748
'
751749
|| ''

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy