Skip to content

Commit

Permalink
CI: Fix builds on Mac
Browse files Browse the repository at this point in the history
Nowadays Mac builds don't allow mixing packages from brew and pip
by default.
Since install-qt-action is using pip, we allow this by removing
the magic file.
  • Loading branch information
peter-ha committed Jun 14, 2024
1 parent 8f1feb2 commit b95fa08
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@ jobs:
- name: Install dependencies on macos
if: startsWith(matrix.config.os, 'macos')
run: |
brew install p7zip cmake ninja
find /opt/homebrew/ -name EXTERNALLY-MANAGED|xargs rm
brew install cmake ninja
ninja --version
cmake --version
Expand Down Expand Up @@ -322,7 +323,7 @@ jobs:

- name: Install Qt5
if: endsWith(matrix.config.name, 'Qt5')
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
version: "5.15.2"
target: "desktop"
Expand All @@ -336,7 +337,7 @@ jobs:

- name: Install Qt6
if: endsWith(matrix.config.name, 'Qt6')
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
version: "6.5.0"
target: "desktop"
Expand Down

0 comments on commit b95fa08

Please sign in to comment.