mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-08 22:05:51 +00:00
feat: Build sanitizers with clang (#2239)
This commit is contained in:
9
.github/workflows/sanitizers.yml
vendored
9
.github/workflows/sanitizers.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user