File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,6 +151,46 @@ jobs:
151151 run : |
152152 cmake --build cmake.output --target install
153153
154+ - name : Run CMake on ubuntu (no CLI)
155+ if : matrix.os == 'ubuntu-22.04'
156+ run : |
157+ cmake -S . -B cmake.output_nocli -G "Unix Makefiles" -DBUILD_CLI=Off
158+
159+ - name : Run CMake on ubuntu (no CLI / with tests)
160+ if : matrix.os == 'ubuntu-22.04'
161+ run : |
162+ # the test and CLI code are too intertwined so for now we need to reject that
163+ if cmake -S . -B cmake.output_nocli -G "Unix Makefiles" -DBUILD_TESTS=On -DBUILD_CLI=Off; then
164+ exit 1
165+ else
166+ exit 0
167+ fi
168+
169+ - name : Run CMake on ubuntu (no CLI / with GUI)
170+ if : matrix.os == 'ubuntu-22.04'
171+ run : |
172+ cmake -S . -B cmake.output_nocli -G "Unix Makefiles" -DBUILD_CLI=Off -DBUILD_GUI=On
173+
174+ - name : Run CMake on ubuntu (no GUI)
175+ if : matrix.os == 'ubuntu-22.04'
176+ run : |
177+ cmake -S . -B cmake.output_nogui -G "Unix Makefiles" -DBUILD_GUI=Off
178+
179+ - name : Run CMake on ubuntu (no GUI / with triage)
180+ if : matrix.os == 'ubuntu-22.04'
181+ run : |
182+ # cannot build triage without GUI
183+ if cmake -S . -B cmake.output_nogui -G "Unix Makefiles" -DBUILD_GUI=Off -DBUILD_TRIAGE=On; then
184+ exit 1
185+ else
186+ exit 0
187+ fi
188+
189+ - name : Run CMake on ubuntu (no CLI / no GUI)
190+ if : matrix.os == 'ubuntu-22.04'
191+ run : |
192+ cmake -S . -B cmake.output_nocli_nogui -G "Unix Makefiles" -DBUILD_GUI=Off
193+
154194 build_uchar :
155195
156196 strategy :
You can’t perform that action at this time.
0 commit comments