Skip to content

Commit

Permalink
fix(ci): include homebrew installed headers on m1 macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
uulm-janbaudisch committed Apr 29, 2024
1 parent f1e7d9d commit f58149c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ jobs:
cp LICENSE $BUILD_ROOT/licenses/mt-kahypar/
# TODO: currently, macOS is only supported on master, move below clone to check out latest version when released.
# git checkout $(git describe --tags $(git rev-list --tags --max-count=1))
- name: Setup Homebrew environment
if: ${{ matrix.target.triple == 'aarch64-apple-darwin' && matrix.d4 == 'include' }}
run: echo CPPFLAGS="-I/opt/homebrew/include" >> $GITHUB_ENV
- name: Build (including d4)
if: ${{ matrix.d4 == 'include' }}
run: cargo build
Expand Down

0 comments on commit f58149c

Please sign in to comment.