From 4d10846f435c1ac24d37f36015ff5a1d51d1f4d1 Mon Sep 17 00:00:00 2001 From: Robert Griebl Date: Tue, 17 Dec 2024 12:08:56 +0100 Subject: [PATCH] Github CI: Fix Debian build --- .github/workflows/build_cmake.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 1d262865..37a451b6 100755 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -77,7 +77,7 @@ jobs: runs-on: ubuntu-22.04 os: linux debian_container: "buildpack-deps:trixie" - cmake_extra_config: "-DBACKEND_ONLY=ON" + backend_only: true generate_docs: true generate_docker: true @@ -259,7 +259,7 @@ jobs: sudo docker exec -e DEBIAN_FRONTEND=noninteractive "debian-build" apt -y update sudo docker exec -e DEBIAN_FRONTEND=noninteractive "debian-build" apt -y install \ $BRICKSTORE_QT6_DEB_PACKAGES \ - $BRICKSTORE_GUI_QT6_DEB_PACKAGES \ + ${{ !matrix.config.backend_only && '$BRICKSTORE_GUI_QT6_DEB_PACKAGES' || '' }} \ debhelper lsb-release fakeroot build-essential shell: bash @@ -298,6 +298,7 @@ jobs: run: | sudo docker exec -w /brickstore "debian-build" /usr/lib/qt6/bin/qt-cmake -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + ${{ matrix.config.backend_only && '-DBACKEND_ONLY=ON' || '' }} \ ${{ matrix.config.cmake_extra_config }} -B build -S . sudo docker exec -w /brickstore "debian-build" cmake --build build --config RelWithDebInfo \ --parallel --target deb-package --verbose