macOS prepare
This commit is contained in:
parent
87448a5151
commit
969c34ea4a
2 changed files with 13 additions and 2 deletions
4
.github/workflows/unit_tests.yml
vendored
4
.github/workflows/unit_tests.yml
vendored
|
@ -36,8 +36,8 @@ jobs:
|
|||
path: build
|
||||
key: ${{ runner.os }}-build-cache
|
||||
|
||||
- name: Fetch Deps
|
||||
run: TEST=1 ci/actions/osx/install_deps.sh
|
||||
- name: Prepare
|
||||
run: ci/prepare/macos/prepare.sh
|
||||
|
||||
- name: Build Tests
|
||||
run: ci/build-ci.sh "/tmp/qt/lib/cmake/Qt5";
|
||||
|
|
11
ci/prepare/macos/prepare.sh
Executable file
11
ci/prepare/macos/prepare.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
set -euox pipefail
|
||||
|
||||
brew update
|
||||
brew install coreutils
|
||||
|
||||
brew install qt@5
|
||||
brew link qt@5
|
||||
|
||||
# Workaround: https://github.com/Homebrew/homebrew-core/issues/8392
|
||||
echo "$(brew --prefix qt5)/bin" >> $GITHUB_PATH
|
Loading…
Add table
Add a link
Reference in a new issue