From 574a6e1a172b506d61d04e9e8b9cc2571de262e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Mon, 15 Mar 2021 15:39:58 +0100 Subject: [PATCH] [CI] Re-enable test_darwin on circle-ci (#10476) * [CI] Re-enable test_darwin on circle-ci * Fix brew update --- bin/ci | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/bin/ci b/bin/ci index af0324bae40a..bdb4d53342d7 100755 --- a/bin/ci +++ b/bin/ci @@ -135,6 +135,17 @@ prepare_build() { on_osx curl -L https://github.com/crystal-lang/crystal/releases/download/0.36.1/crystal-0.36.1-1-darwin-x86_64.tar.gz -o ~/crystal.tar.gz on_osx 'pushd ~;gunzip -c ~/crystal.tar.gz | tar xopf -;mv crystal-0.36.1-1 crystal;popd' + + # These commands may take a few minutes to run due to the large size of the repositories. + # This restriction has been made on GitHub's request because updating shallow + # clones is an extremely expensive operation due to the tree layout and + # traffic of Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do + # this for you automatically to avoid repeatedly performing an expensive + # unshallow operation in CI systems (which should instead be fixed to not use + # shallow clones). Sorry for the inconvenience! + on_osx git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow + on_osx git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow + on_osx brew update --preinstall on_osx brew bundle --no-lock