Skip to content

Commit

Permalink
CI: install Qt with brew on macOS
Browse files Browse the repository at this point in the history
GitHub macos-latest runner seems to have switched to arm64
by default but jurplel/install-qt-action@v3 just provides
x86_64 binaries
  • Loading branch information
HuguesDelorme committed Apr 26, 2024
1 parent 19d860c commit 129b260
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ jobs:
uses: actions/checkout@v2

- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
cache: true
cache-key-prefix: QtCache
run: |
brew install qt5
- name: Install OpenCascade
run: |
Expand All @@ -35,7 +33,8 @@ jobs:
cmake --version
cmake .. \
-DMayo_BuildTests=ON \
-DMayo_BuildPluginAssimp=ON
-DMayo_BuildPluginAssimp=ON \
-DQt5_DIR=$(brew --prefix qt5)/lib/cmake/Qt5
cmake --build . \
--config Release \
--parallel ${{steps.cpu-cores.outputs.count}}
Expand Down

0 comments on commit 129b260

Please sign in to comment.