Skip to content

Commit

Permalink
Switch to more recent OS and compilers for sanitizer workflows (#568)
Browse files Browse the repository at this point in the history
* Switch to more recent OS and compilers for sanitizer workflows

* Switch to c++20 standard
  • Loading branch information
tmadlener authored May 2, 2024
1 parent 4df8968 commit bde3830
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/sanitizers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
compiler: [gcc11, clang12]
compiler: [gcc13, clang16]
# Since Leak is usually part of Address, we do not run it separately in
# CI. Keeping Address and Undefined separate for easier debugging
sanitizer: [Thread,
Expand All @@ -32,14 +32,14 @@ jobs:
- uses: cvmfs-contrib/github-action-cvmfs@v4
- uses: aidasoft/run-lcg-view@v4
with:
release-platform: LCG_102/x86_64-centos7-${{ matrix.compiler }}-opt
release-platform: LCG_105/x86_64-el9-${{ matrix.compiler }}-opt
run: |
echo "::group::Run CMake"
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug \
-DUSE_SANITIZER=${{ matrix.sanitizer }} \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_CXX_STANDARD=20 \
-DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always " \
-DUSE_EXTERNAL_CATCH2=OFF \
-DENABLE_SIO=ON \
Expand All @@ -54,4 +54,4 @@ jobs:
echo "::endgroup"
echo "::group::Run tests"
ctest --output-on-failure
echo "::endgroup::"
echo "::endgroup::"

0 comments on commit bde3830

Please sign in to comment.