From 7b09fd43ea78616c97578e5409c2d2aa704e44e0 Mon Sep 17 00:00:00 2001 From: Dirk Stolle Date: Sat, 2 Nov 2024 01:39:51 +0100 Subject: [PATCH] ci: switch build with sanitizers to newer Ubuntu 24.04 This allows to use the newer GCC 14 for the build. --- .github/workflows/sanitizers.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sanitizers.yml b/.github/workflows/sanitizers.yml index b38df5a2..5e583d49 100644 --- a/.github/workflows/sanitizers.yml +++ b/.github/workflows/sanitizers.yml @@ -4,19 +4,19 @@ on: push jobs: sanitizer: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: # Checks-out the repository under $GITHUB_WORKSPACE. - uses: actions/checkout@v4 - name: Install Debian packages run: | sudo apt-get update - sudo apt-get install -y catch2 cmake g++-12 libfuse3-dev liblz4-dev pkg-config zlib1g-dev + sudo apt-get install -y catch2 cmake g++-14 libfuse3-dev liblz4-dev pkg-config zlib1g-dev sudo apt-get install -y libasan8 libubsan1 - name: Build with GCC 12 and sanitizers enabled run: | - export CXX=g++-12 - export CC=gcc-12 + export CXX=g++-14 + export CC=gcc-14 cd $GITHUB_WORKSPACE mkdir build cd build