Skip to content

Commit

Permalink
Add clazy PPA to work around the outdated clazy 1.11 version
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer authored and JoergAtGithub committed Nov 10, 2024
1 parent 57c09d9 commit 46d98ad
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/build-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,13 @@ jobs:
steps:
- name: Check out repository
uses: actions/[email protected]
- name: Add clazy PPA
# Ubuntu2404 comes with v1.11, which is too old for the Qt6.4 shipped with Ubuntu 24.04
run: |
sudo add-apt-repository ppa:daschuer/clazy
sudo apt update
- name: Install build dependencies
run: tools/debian_buildenv.sh setup
- name: Build clazy v1.12
if: matrix.name == 'clazy'
# Ubuntu2404 comes with v1.11, which is too old for the Qt6.4 shipped with Ubuntu 2404
run: |
sudo apt-get update
sudo apt-get install -y llvm-dev libclang-dev clang
git clone --branch v1.12 --single-branch https://github.com/KDE/clazy.git
cd clazy
mkdir build
cd build
cmake ..
make -j$(nproc)
sudo make install
clazy --version
- name: Create build directory
run: mkdir build
- name: Configure (clazy)
Expand Down

0 comments on commit 46d98ad

Please sign in to comment.