-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport PR #5066: TST: workaround homebrew failure on macos
- Loading branch information
1 parent
cc5f262
commit ec2f968
Showing
1 changed file
with
5 additions
and
0 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 |
---|---|---|
|
@@ -17,6 +17,11 @@ if [[ ${dependencies} == "full" || ${dependencies} == "cartopy" ]]; then | |
osx|macOS) | ||
sudo mkdir -p /usr/local/man | ||
sudo chown -R "${USER}:admin" /usr/local/man | ||
# uninstalling pkg-config to workaround a bug in macOS image | ||
# https://github.com/Homebrew/homebrew-core/pull/198691#issuecomment-2495500991 | ||
# this can be cleaned-up once the following patch is released: | ||
# https://github.com/actions/runner-images/pull/11015 | ||
HOMEBREW_NO_AUTO_UPDATE=1 brew uninstall [email protected] || true | ||
HOMEBREW_NO_AUTO_UPDATE=1 brew install hdf5 open-mpi netcdf ccache macfuse | ||
;; | ||
esac | ||
|