Skip to content

Commit 96d4c60

Browse files
committed
GitHub Actions: Change Qt installation for macOS to make it more reliable
Signed-off-by: Remigiusz Kołłątaj <[email protected]>
1 parent 3ff6ace commit 96d4c60

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,16 +176,14 @@ jobs:
176176
with:
177177
submodules: recursive
178178

179-
- run: brew install cmake boost
180-
181-
- uses: jurplel/install-qt-action@v2
179+
- run: brew install cmake boost qt5
182180

183181
- name: Create Build Environment
184182
run: cmake -E make_directory ${{github.workspace}}/build
185183

186184
- name: Configure CMake
187185
working-directory: ${{github.workspace}}/build
188-
run: cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=OFF
186+
run: cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=OFF -DCMAKE_PREFIX_PATH="$(brew --prefix qt5)/lib/cmake"
189187
env:
190188
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
191189

0 commit comments

Comments
 (0)