From 7fa6a0285f1ab06ca3c2f82057663129c2ad3e06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Sat, 23 Nov 2024 16:08:10 +0100 Subject: [PATCH] TST: workaround homebrew failure on macos --- tests/ci_install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/ci_install.sh b/tests/ci_install.sh index 57046585182..cb1daa54601 100644 --- a/tests/ci_install.sh +++ b/tests/ci_install.sh @@ -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 pkg-config@0.29.2 || true HOMEBREW_NO_AUTO_UPDATE=1 brew install hdf5 open-mpi netcdf ccache macfuse ;; esac