feat: Build sanitizers with clang (#2239)

This commit is contained in:
Ayaz Salikhov
2025-06-23 11:26:05 +01:00
committed by GitHub
parent 87ee358297
commit e4fbf5131f

View File

@@ -37,14 +37,19 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
conan_profile: ["gcc.asan", "gcc.tsan", "gcc.ubsan"] compiler: ["gcc", "clang"]
sanitizer_ext: [".asan", ".tsan", ".ubsan"]
exclude:
# Currently, clang.tsan unit tests hang
- compiler: clang
sanitizer_ext: .tsan
uses: ./.github/workflows/build_and_test.yml uses: ./.github/workflows/build_and_test.yml
with: with:
runs_on: heavy runs_on: heavy
container: '{ "image": "ghcr.io/xrplf/clio-ci:latest" }' container: '{ "image": "ghcr.io/xrplf/clio-ci:latest" }'
disable_cache: true disable_cache: true
conan_profile: ${{ matrix.conan_profile }} conan_profile: ${{ matrix.compiler }}${{ matrix.sanitizer_ext }}
build_type: Release build_type: Release
static: false static: false
run_unit_tests: true run_unit_tests: true