Skip to content

Commit

Permalink
TST: workaround homebrew failure on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Nov 23, 2024
1 parent 9e483ce commit 830c6b5
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 @@ -14,9 +14,14 @@ if [[ ${dependencies} == "full" || ${dependencies} == "cartopy" ]]; then
libopenmpi-dev \
libfuse2
;;
# 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
osx|macOS)
sudo mkdir -p /usr/local/man
sudo chown -R "${USER}:admin" /usr/local/man
HOMEBREW_NO_AUTO_UPDATE=1 brew uninstall pkg-config@0.29.2 | true
HOMEBREW_NO_AUTO_UPDATE=1 brew install hdf5 open-mpi netcdf ccache macfuse
;;
esac
Expand Down

0 comments on commit 830c6b5

Please sign in to comment.