Skip to content

Commit

Permalink
Update build-macos.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KerstinKeller committed Apr 23, 2024
1 parent 8c565aa commit 868a9e2
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,25 @@ on:

jobs:
build-macos:
runs-on: macos-13
runs-on: macos-latest

steps:
- name: Install Dependencies
run: brew install ninja doxygen graphviz protobuf hdf5@1.10 pkg-config qt

- name: Downgrade Python version
uses: actions/setup-python@v5
id: cp312
uses: actions/setup-python@v4
id: cp12
with:
python-version: '3.12'

- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
setup-python: false
version: '5.15.2'
target: 'desktop'

- name: Install Dependencies
run: brew install ninja doxygen graphviz protobuf hdf5@1.10 pkg-config

- name: Install Cap鈥檔 Proto
run: |
mkdir "${{ runner.workspace }}/capnp"
Expand All @@ -32,7 +39,7 @@ jobs:
sudo make install
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
submodules: 'true'
fetch-depth: 0
Expand Down Expand Up @@ -79,7 +86,6 @@ jobs:
-DECAL_THIRDPARTY_BUILD_QWT=ON \
-DECAL_THIRDPARTY_BUILD_YAML-CPP=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH=/usr/local/opt/hdf5@1.10 \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON \
-DPython_FIND_STRATEGY=LOCATION \
Expand Down

0 comments on commit 868a9e2

Please sign in to comment.