]> tinc-vpn.org Git - tinc/commitdiff
Explicitly install Clang for those tests that need it
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 4 Apr 2026 22:20:43 +0000 (00:20 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 4 Apr 2026 22:20:43 +0000 (00:20 +0200)
.ci/sanitizers/run.sh
.github/workflows/test.yml

index 49fee78e1cad4325ddd456971d6d058d10d7d329..bd83bed82f4f1c346011852569680e2623bb87dd 100755 (executable)
@@ -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"
 
index 0c8b32f58af979e6b304258e44077231e9403928..e39f2f82d6f7b490b36e01d458afccae93924381 100644 (file)
@@ -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