From d07e30176e084334081fa53be81e75c064375f36 Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Mon, 20 Dec 2021 15:43:00 +0100 Subject: [PATCH] ci: Update brew on macOS The preinstalled brew is very old and tries to download prebuilt bottles from a server which is no longer available. Because that will fail, brew falls back to building our dependencies (e.g., autotools) from source, which takes very long. This commit makes sure that brew is updated before we start the build. We also need to remove the `--shallow` argument from `brew tap`. It doesn't exist in recent brew versions. --- .cirrus.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index e666778..efbf325 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -133,8 +133,9 @@ task: ## - rm /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress ## brew_valgrind_pre_script: + - brew update - brew config - - brew tap --shallow LouisBrunner/valgrind + - brew tap LouisBrunner/valgrind # Fetch valgrind source but don't build it yet. - brew fetch --HEAD LouisBrunner/valgrind/valgrind brew_valgrind_cache: