ci: Remove ci-dev-qt6 from CI, it's overlapping #294
This file contains hidden or 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: 2023 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com> | |
| # | |
| # SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only | |
| name: python, clang-tidy and valgrind | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| - "2.4" | |
| pull_request: | |
| branches: | |
| - main | |
| - "2.4" | |
| jobs: | |
| build: | |
| if: "!contains(github.event.pull_request.title, '[only-') || contains(github.event.pull_request.title, '[only-python_clazy_tidy_valgrind]')" | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| os: | |
| - ubuntu-24.04 | |
| preset: | |
| - name: ci-python-qt6 | |
| qt_version: "6.6.0" | |
| - name: ci-clang-tidy-qt6 | |
| qt_version: "6.3.*" | |
| - name: clazy | |
| build_preset_arg: "--preset=clazy" | |
| qt_version: "6.5.0" | |
| - name: ci-dev-valgrind-qt6 | |
| qt_version: "6.5.*" | |
| steps: | |
| - name: Install Qt ${{ matrix.preset.qt_version }} | |
| uses: jurplel/install-qt-action@v4 | |
| with: | |
| version: ${{ matrix.preset.qt_version }} | |
| cache: true | |
| - name: Install ninja-build tool (must be after Qt due PATH changes) | |
| uses: turtlesec-no/get-ninja@main | |
| - name: Install dependencies on Ubuntu | |
| if: ${{ runner.os == 'Linux' }} | |
| run: | | |
| sudo apt update -qq | |
| sudo apt install libspdlog-dev lld valgrind clazy llvm mold -y | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| cache: "pip" | |
| cache-dependency-path: ".github/workflows/pip-requirements.txt" | |
| python-version: "3.9" | |
| - run: pip3.9 install -r .github/workflows/pip-requirements.txt | |
| - name: Configure project | |
| run: cmake -S . -B ./build-${{ matrix.preset.name }} --preset ${{ matrix.preset.name }} | |
| - name: Build Project ${{ matrix.preset.build_preset_arg }} | |
| if: ${{ matrix.os != 'windows-2022' || matrix.preset.name != 'ci-python-qt6' }} | |
| run: cmake --build ./build-${{ matrix.preset.name }} ${{ matrix.preset.build_preset_arg }} | |
| - name: Run tests on Linux (offscreen) | |
| if: ${{ startsWith(matrix.preset.name, 'ci-dev-') && runner.os == 'Linux' }} | |
| run: ctest --test-dir ./build-${{ matrix.preset.name }} --output-on-failure | |
| env: | |
| QT_QPA_PLATFORM: offscreen | |
| QT_QUICK_BACKEND: software |