Skip to content

Commit

Permalink
fix(ci): fmt is system installation on macOS runners
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Jan 16, 2024
1 parent 9c76429 commit 3089b8c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,12 @@ jobs:
- run: tree
### build iguana
- name: resolve dependencies
run: meson/resolve-dependencies.py --hipo ./hipo --fmt ./fmt --ini native.ini
run: |
if [ ${{ inputs.runner }} = "macos-latest" ]; then
meson/resolve-dependencies.py --ini native.ini --hipo ./hipo # fmt is a system installation on macOS runners
else
meson/resolve-dependencies.py --ini native.ini --hipo ./hipo --fmt ./fmt # fmt is locally built on Linux runners
fi
- name: meson setup
run: meson setup --native-file=native.ini build-iguana
- name: meson configure
Expand Down

0 comments on commit 3089b8c

Please sign in to comment.