File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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
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
You can’t perform that action at this time.
0 commit comments