Skip to content

Commit

Permalink
Fix HDF5 installation on macOS runners
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeda committed Nov 25, 2024
1 parent 1c1a4c3 commit a4b9152
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@ jobs:

- name: Install HDF5 source files
if: runner.os == 'macOS'
run: brew install hdf5
# macOS needs special handling for pkg-config/pkgconf conflict
# HDF5 depends on pkgconf but homebrew comes with pkg-config pre-installed
# We need to unlink pkg-config and force link pkgconf to avoid CI failures
run: |
brew unlink [email protected] || true
brew install hdf5
brew link --overwrite pkgconf
- uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit a4b9152

Please sign in to comment.