File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020
2121 strategy :
2222 matrix :
23- image : ["ubuntu:24.04"]
24- include :
25- - build_gui : false
26- - image : " ubuntu:24.04"
27- build_gui : true
23+ image : ["ubuntu:24.04", "ubuntu:25.10"]
2824 fail-fast : false # Prefer quick result
2925
3026 runs-on : ubuntu-22.04
4945 apt-get install -y cmake g++ make libxml2-utils libpcre3-dev
5046
5147 - name : Install missing software (gui) on latest ubuntu
52- if : matrix.build_gui
5348 run : |
5449 apt-get install -y qt6-base-dev qt6-charts-dev qt6-tools-dev
5550
@@ -60,18 +55,12 @@ jobs:
6055 with :
6156 key : ${{ github.workflow }}-${{ matrix.image }}
6257
63- - name : CMake build
64- if : ${{ !matrix.build_gui }}
58+ - name : Run CMake
6559 run : |
66- mkdir cmake.output
67- cd cmake.output
68- cmake -G "Unix Makefiles" -DHAVE_RULES=On -DBUILD_TESTS=On -DCMAKE_DISABLE_PRECOMPILE_HEADERS=On -DCMAKE_COMPILE_WARNING_AS_ERROR=On -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache ..
69- cmake --build . -- -j$(nproc)
60+ cmake -S . -B cmake.output -G "Unix Makefiles" -DHAVE_RULES=On -DBUILD_TESTS=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
7061
7162 - name : CMake build (with GUI)
72- if : matrix.build_gui
7363 run : |
74- cmake -S . -B cmake.output -G "Unix Makefiles" -DHAVE_RULES=On -DBUILD_TESTS=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
7564 cmake --build cmake.output -- -j$(nproc)
7665
7766 - name : Run CMake test
8271
8372 strategy :
8473 matrix :
85- image : ["ubuntu:24.04"]
74+ image : ["ubuntu:24.04", "ubuntu:25.10" ]
8675 fail-fast : false # Prefer quick result
8776
8877 runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments