From: Guus Sliepen Date: Sun, 5 Apr 2026 10:36:30 +0000 (+0200) Subject: CI pipeline dependency fixes X-Git-Url: https://www.tinc-vpn.org/git/?a=commitdiff_plain;h=bf23366d9a6f352d60238df76d46a2c7210f61a1;p=tinc CI pipeline dependency fixes - 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 --- diff --git a/.ci/deps.sh b/.ci/deps.sh index 69c276a8..d585a01d 100755 --- a/.ci/deps.sh +++ b/.ci/deps.sh @@ -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" \ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8423625d..4dbd2967 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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