Skip to content

Commit

Permalink
ci: switch build with sanitizers to newer Ubuntu 24.04
Browse files Browse the repository at this point in the history
This allows to use the newer GCC 14 for the build.
  • Loading branch information
striezel committed Nov 2, 2024
1 parent 7516f82 commit 7b09fd4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b09fd4

Please sign in to comment.