Skip to content

Commit

Permalink
Use apt install
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Nov 5, 2024
1 parent dd8a1d5 commit ccbb735
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ccbb735

Please sign in to comment.