-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Unlink deprecated brew pkg-config
macOS GitHub Action Runners come with pkg-config installed, but this package is deprecated in brew. Replace it with pkgconf. This can be reverted when Action Runners are no longer imaged with pkg-config.
- Loading branch information
Showing
2 changed files
with
14 additions
and
2 deletions.
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 |
---|---|---|
|
@@ -45,7 +45,14 @@ jobs: | |
|
||
- name: Install HDF5 for macOS arm64 | ||
if: ${{ matrix.os_arch[1] == 'macosx_arm64' }} | ||
run: brew install hdf5 | ||
run: | | ||
# pkg-config formula is deprecated but it's still installed | ||
# in GitHub Actions runner now. We can remove this once | ||
# pkg-config formula is removed from GitHub Actions runner. | ||
brew unlink [email protected] | ||
brew install pkgconf | ||
echo "PKG_CONFIG=$(brew --prefix pkgconf)/bin/pkgconf" >> $GITHUB_ENV | ||
brew install hdf5 | ||
- name: Install cibuildwheel | ||
run: python -m pip install -U pip wheel cibuildwheel twine | ||
|
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 |
---|---|---|
|
@@ -38,7 +38,12 @@ jobs: | |
- name: Fix macos HDF5 library for pytables install (works for python >= 3.10) | ||
if: ${{ matrix.os == 'macos-latest' }} | ||
run: | | ||
brew update | ||
# pkg-config formula is deprecated but it's still installed | ||
# in GitHub Actions runner now. We can remove this once | ||
# pkg-config formula is removed from GitHub Actions runner. | ||
brew unlink [email protected] | ||
brew install pkgconf | ||
echo "PKG_CONFIG=$(brew --prefix pkgconf)/bin/pkgconf" >> $GITHUB_ENV | ||
brew install hdf5 | ||
- name: Setup xtgeo | ||
|