feat: Run sanitizers for Debug builds as well (#2296)

This commit is contained in:
Ayaz Salikhov
2025-07-08 12:32:16 +01:00
committed by GitHub
parent 562ea41a64
commit f391c3c899
2 changed files with 9 additions and 4 deletions

View File

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

View File

@@ -85,7 +85,7 @@ jobs:
if: env.SANITIZER_IGNORE_ERRORS == 'true' && steps.check_report.outputs.found_report == 'true'
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.conan_profile }}_report
name: sanitizer_report_${{ runner.os }}_${{ inputs.build_type }}_${{ inputs.conan_profile }}
path: .sanitizer-report/*
include-hidden-files: true