From a5641c70e2837bf300c98faeb1f93691796282f9 Mon Sep 17 00:00:00 2001 From: Petr Bena Date: Mon, 6 Apr 2026 15:21:48 +0200 Subject: [PATCH] CI for build on debian with Qt6 --- .github/workflows/build-debian-qt6.yml | 47 ++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .github/workflows/build-debian-qt6.yml diff --git a/.github/workflows/build-debian-qt6.yml b/.github/workflows/build-debian-qt6.yml new file mode 100644 index 0000000..1b5c078 --- /dev/null +++ b/.github/workflows/build-debian-qt6.yml @@ -0,0 +1,47 @@ +name: Build (Debian Qt6) + +on: + push: + pull_request: + +jobs: + build: + name: Debian ${{ matrix.debian }} + runs-on: ubuntu-latest + container: + image: ${{ matrix.image }} + strategy: + fail-fast: false + matrix: + include: + - debian: "12" + image: debian:12 + - debian: "13" + image: debian:13 + + steps: + - name: Install build dependencies + env: + DEBIAN_FRONTEND: noninteractive + run: | + apt-get update + apt-get install -y --no-install-recommends \ + ca-certificates \ + git \ + build-essential \ + pkg-config \ + qmake6 \ + qt6-base-dev \ + qt6-base-dev-tools \ + libgl1-mesa-dev + + - name: Checkout + uses: actions/checkout@v4 + + - name: Configure (qmake6) + working-directory: src + run: qmake6 TuxManager.pro + + - name: Build + working-directory: src + run: make -j"$(nproc)"