From bde3830b321d6f6c0508d7d4d6e19cc1b7b3efab Mon Sep 17 00:00:00 2001 From: Thomas Madlener Date: Thu, 2 May 2024 13:25:09 +0200 Subject: [PATCH] Switch to more recent OS and compilers for sanitizer workflows (#568) * Switch to more recent OS and compilers for sanitizer workflows * Switch to c++20 standard --- .github/workflows/sanitizers.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sanitizers.yaml b/.github/workflows/sanitizers.yaml index 76dcc3479..afeefa15e 100644 --- a/.github/workflows/sanitizers.yaml +++ b/.github/workflows/sanitizers.yaml @@ -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, @@ -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 \ @@ -54,4 +54,4 @@ jobs: echo "::endgroup" echo "::group::Run tests" ctest --output-on-failure - echo "::endgroup::" \ No newline at end of file + echo "::endgroup::"