Skip to content

Commit 422872e

Browse files
committed
alpine
1 parent fefc420 commit 422872e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/CI-unixish-docker.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
strategy:
2222
matrix:
2323
image: ["alpine:3.23"]
24+
with_gui: true
25+
include:
26+
- image: "alpine:3.23"
27+
with_gui: false
2428
fail-fast: false # Prefer quick result
2529

2630
runs-on: ubuntu-22.04
@@ -54,11 +58,6 @@ jobs:
5458
run: |
5559
apk add cmake make g++
5660
57-
- name: Install missing software (gui) on Alpine
58-
if: contains(matrix.image, 'alpine')
59-
run: |
60-
apk add qt6-qtbase
61-
6261
# needs to be called after the package installation since
6362
# - it doesn't call "apt-get update"
6463
- name: ccache
@@ -68,9 +67,10 @@ jobs:
6867

6968
- name: Run CMake
7069
run: |
71-
cmake -S . -B cmake.output -Werror=dev -DHAVE_RULES=On -DBUILD_TESTING=On -DBUILD_GUI=On -DWITH_QCHART=On -DBUILD_TRIAGE=On -DCMAKE_COMPILE_WARNING_AS_ERROR=On -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
70+
cmake -S . -B cmake.output -Werror=dev -DHAVE_RULES=On -DBUILD_TESTING=On -DBUILD_GUI=${{ matrix.with_gui }} -DWITH_QCHART=On -DBUILD_TRIAGE=On -DCMAKE_COMPILE_WARNING_AS_ERROR=On -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
7271
7372
- name: CMake build (with GUI)
73+
if: matrix.with_gui
7474
run: |
7575
cmake --build cmake.output -- -j$(nproc)
7676

0 commit comments

Comments
 (0)