Skip to content

Commit

Permalink
ci/sanitizers: use clang-17 (#1131)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers authored May 31, 2024
1 parent f8323e9 commit 73bc469
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
os: [ubuntu-22.04]
sanitizer: [thread, address]
env:
CC: clang
CC: clang-17
CMAKE_GENERATOR: Ninja
CFLAGS: "-fsanitize=${{ matrix.sanitizer }}"
ASAN_OPTIONS: fast_unwind_on_malloc=0
Expand All @@ -38,6 +38,12 @@ jobs:
run: |
sudo apt-get update && sudo apt-get install -y ninja-build
- name: Install clang-tools
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main"
sudo apt-get update && sudo apt-get install -y clang-17
- name: make info
run: |
echo "OS: ${{ matrix.os }}"
Expand Down

0 comments on commit 73bc469

Please sign in to comment.