CI-unixish.yml: disabled GUI build on macos since Qt installation is flakey (#3634)

This commit is contained in:
Oliver Stöneberg 2021-12-16 17:45:34 +01:00 committed by GitHub
parent 7bcedc20ab
commit 0e1590b43c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 1 deletions

View File

@ -47,14 +47,17 @@ jobs:
run: |
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)