Skip to content

Commit

Permalink
Merge pull request #5066 from neutrinoceros/tst/fix_homebrew_install
Browse files Browse the repository at this point in the history
TST: workaround homebrew failure on macos
  • Loading branch information
chrishavlin authored Nov 25, 2024
2 parents 9e483ce + 7fa6a02 commit fb8d4dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/ci_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb8d4dc

Please sign in to comment.