From 185b884120e85104b04e33ee204a7a942b2bec98 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 5 Apr 2026 00:20:43 +0200 Subject: [PATCH] Explicitly install Clang for those tests that need it --- .ci/sanitizers/run.sh | 2 +- .github/workflows/test.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/sanitizers/run.sh b/.ci/sanitizers/run.sh index 49fee78e..bd83bed8 100755 --- a/.ci/sanitizers/run.sh +++ b/.ci/sanitizers/run.sh @@ -29,7 +29,7 @@ thread) ;; esac -export CC='clang-12' +export CC='clang' export CPPFLAGS='-DDEBUG' export CFLAGS="-O0 -g -fsanitize=$SANITIZER -fno-omit-frame-pointer -fno-common -fsanitize-blacklist=$dir/ignore.txt $flags" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0c8b32f5..e39f2f82 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -88,7 +88,7 @@ jobs: uses: actions/checkout@v6 - name: Install dependencies - run: .ci/deps.sh autoconf automake iperf3 + run: .ci/deps.sh autoconf automake iperf3 clang-19 - name: Compatibility with older versions of tinc run: .ci/compat/run.sh @@ -166,7 +166,7 @@ jobs: - name: Install deps run: | - .ci/deps.sh iputils-arping + .ci/deps.sh iputils-arping clang pip3 install --upgrade cryptography - name: Sanitize tests with default settings -- 2.47.3