]> tinc-vpn.org Git - tinc/commitdiff
CI pipeline dependency fixes
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 5 Apr 2026 10:36:30 +0000 (12:36 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 5 Apr 2026 10:36:30 +0000 (12:36 +0200)
- Explicitly install iproute2 in slim containers
- Explicitly install libclang-rt-dev to get working sanitizers
- Use the distro's Python cryptography package
- Install git before running actions/checkout if we need the repository

.ci/deps.sh
.github/workflows/test.yml

index 69c276a8eb894b179a22bff60b0d50bb859f673c..d585a01df6c5bd2c691d4144bf2a3c4152d7420b 100755 (executable)
@@ -32,6 +32,8 @@ deps_linux_debian_linux() {
   fi
 
   apt install --no-install-recommends -y \
+    iproute2 \
+    python3-cryptography \
     build-essential \
     binfmt-support binutils \
     zlib1g-dev:"$HOST" \
index 8423625ddb0ccdc8ef514f1406803fe2d6605c92..4dbd296723271e750b186b8df0f91a5770854f4f 100644 (file)
@@ -165,9 +165,7 @@ jobs:
         uses: actions/checkout@v6
 
       - name: Install deps
-        run: |
-          .ci/deps.sh iputils-arping clang python3-pip
-          pip3 install --upgrade cryptography
+        run: .ci/deps.sh iputils-arping clang libclang-rt-dev
 
       - name: Sanitize tests with default settings
         run: .ci/sanitizers/run.sh default
@@ -211,6 +209,9 @@ jobs:
       env:
         CI: 1
     steps:
+      - name: Install Git
+        run: apt install --no-install-recommends git
+
       - name: Checkout code
         uses: actions/checkout@v6