-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix HDF5 installation on macOS runners
- Loading branch information
Showing
1 changed file
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|