Skip to content

Commit

Permalink
Github CI: Fix Debian build
Browse files Browse the repository at this point in the history
  • Loading branch information
rgriebl committed Dec 17, 2024
1 parent 51d0e01 commit 4d10846
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4d10846

Please sign in to comment.