CI-unixish.yml: disabled GUI build on macos since Qt installation is flakey (#3634)
This commit is contained in:
parent
7bcedc20ab
commit
0e1590b43c
|
@ -48,13 +48,16 @@ jobs:
|
|||
python -m pip install pip --upgrade
|
||||
python -m pip install pytest
|
||||
|
||||
# TODO: Qt installation often fails with timeout errors on macos
|
||||
- name: Install Qt
|
||||
if: !contains(matrix.os, 'macos')
|
||||
uses: jurplel/install-qt-action@v2
|
||||
with:
|
||||
version: '5.15.2'
|
||||
modules: 'qtcharts'
|
||||
|
||||
- name: Test CMake build (with GUI)
|
||||
if: !contains(matrix.os, 'macos')
|
||||
run: |
|
||||
mkdir cmake.output
|
||||
cd cmake.output
|
||||
|
@ -62,6 +65,15 @@ jobs:
|
|||
cmake --build . -- -j$(nproc)
|
||||
cd ..
|
||||
|
||||
- name: Test CMake build (without GUI)
|
||||
if: contains(matrix.os, 'macos')
|
||||
run: |
|
||||
mkdir cmake.output
|
||||
cd cmake.output
|
||||
cmake -G "Unix Makefiles" -DUSE_Z3=On -DHAVE_RULES=On -DBUILD_TESTS=On ..
|
||||
cmake --build . -- -j$(nproc)
|
||||
cd ..
|
||||
|
||||
- name: Run CMake test
|
||||
run: |
|
||||
cmake --build cmake.output --target check -- -j$(nproc)
|
||||
|
|
Loading…
Reference in New Issue