ci: also add qtbase private #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2025 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> | |
# | |
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only | |
name: Clazy | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: | |
- ubuntu-22.04 | |
steps: | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v4 | |
with: | |
version: 6.6 | |
cache: true | |
- name: Install dependencies on Ubuntu | |
run: | | |
sudo apt update -qq | |
sudo apt install lld valgrind clazy llvm ninja-build -y | |
- uses: actions/checkout@v4 | |
- name: Configure project | |
run: cmake -S . -B ./build-clazy6 --preset clazy6 | |
- name: Clazy | |
run: cmake --build ./build-clazy6 |