From 1fc87f15345cfad3cb279f7afd3dc90bdef15c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Sat, 6 Mar 2021 21:07:38 +0100 Subject: [PATCH 1/2] [CI] Re-enable test_darwin on circle-ci --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2b7706a4fb35..4c457723915e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -510,6 +510,9 @@ jobs: workflows: version: 2 + test_all_platforms: + jobs: + - test_darwin tagged_release: jobs: - test_linux: From 088fa185df98d7c3bedf756c40b047c33b214d0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Sat, 13 Mar 2021 17:08:36 +0100 Subject: [PATCH 2/2] 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