mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
feat: Run sanitizers for Debug builds as well (#2296)
This commit is contained in:
11
.github/workflows/sanitizers.yml
vendored
11
.github/workflows/sanitizers.yml
vendored
@@ -37,12 +37,17 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
compiler: ["gcc", "clang"]
|
compiler: [gcc, clang]
|
||||||
sanitizer_ext: [".asan", ".tsan", ".ubsan"]
|
sanitizer_ext: [.asan, .tsan, .ubsan]
|
||||||
|
build_type: [Release, Debug]
|
||||||
exclude:
|
exclude:
|
||||||
# Currently, clang.tsan unit tests hang
|
# Currently, clang.tsan unit tests hang
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
sanitizer_ext: .tsan
|
sanitizer_ext: .tsan
|
||||||
|
build_type: Release
|
||||||
|
- compiler: clang
|
||||||
|
sanitizer_ext: .tsan
|
||||||
|
build_type: Debug
|
||||||
|
|
||||||
uses: ./.github/workflows/build_and_test.yml
|
uses: ./.github/workflows/build_and_test.yml
|
||||||
with:
|
with:
|
||||||
@@ -50,7 +55,7 @@ jobs:
|
|||||||
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.compiler }}${{ matrix.sanitizer_ext }}
|
conan_profile: ${{ matrix.compiler }}${{ matrix.sanitizer_ext }}
|
||||||
build_type: Release
|
build_type: ${{ matrix.build_type }}
|
||||||
static: false
|
static: false
|
||||||
run_unit_tests: true
|
run_unit_tests: true
|
||||||
run_integration_tests: false
|
run_integration_tests: false
|
||||||
|
|||||||
2
.github/workflows/test_impl.yml
vendored
2
.github/workflows/test_impl.yml
vendored
@@ -85,7 +85,7 @@ jobs:
|
|||||||
if: env.SANITIZER_IGNORE_ERRORS == 'true' && steps.check_report.outputs.found_report == 'true'
|
if: env.SANITIZER_IGNORE_ERRORS == 'true' && steps.check_report.outputs.found_report == 'true'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.conan_profile }}_report
|
name: sanitizer_report_${{ runner.os }}_${{ inputs.build_type }}_${{ inputs.conan_profile }}
|
||||||
path: .sanitizer-report/*
|
path: .sanitizer-report/*
|
||||||
include-hidden-files: true
|
include-hidden-files: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user