From ccbb735dd9b0018abe7a461e401e9dc2dbacf3c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Tue, 5 Nov 2024 07:44:29 +0100 Subject: [PATCH] Use apt install --- .github/workflows/build-checks.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-checks.yml b/.github/workflows/build-checks.yml index 7dddd2a5345..33c50d660a9 100644 --- a/.github/workflows/build-checks.yml +++ b/.github/workflows/build-checks.yml @@ -32,12 +32,10 @@ jobs: if: matrix.name == 'clazy' # Ubuntu2404 comes with v1.11, which is too old for the Qt6.4 shipped with Ubuntu 2404 run: | - wget http://mirrors.kernel.org/ubuntu/pool/universe/c/clazy/clazy_1.12-2_amd64.deb - wget http://mirrors.kernel.org/ubuntu/pool/main/l/llvm-toolchain-18/libclang-cpp18_18.1.8-11_amd64.deb - wget http://mirrors.kernel.org/ubuntu/pool/main/l/llvm-toolchain-18/libllvm18_18.1.8-11_amd64.deb - sudo dpkg -i libllvm18_18.1.8-11_amd64.deb - sudo dpkg -i libclang-cpp18_18.1.8-11_amd64.deb - sudo dpkg -i clazy_1.12-2_amd64.deb + echo "deb http://archive.ubuntu.com/ubuntu oracular main universe" | sudo tee /etc/apt/sources.list.d/oracular-temp.list + echo -e "Package: *\nPin: release n=oracular\nPin-Priority: 100" | sudo tee /etc/apt/preferences.d/oracular.pref + sudo apt update + sudo apt install -t oracular clazy clazy --version - name: Create build directory run: mkdir build