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