From 53b2a33c8803cd7f9515c8d9eb326f87bf875166 Mon Sep 17 00:00:00 2001 From: Hyunjin Song Date: Thu, 17 Dec 2020 11:06:57 +0900 Subject: [PATCH] Fix Homebrew updates on CircleCI Update Hombebrew manually to avoid errors with shallow clones. --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2d15efd1e..5b9cea8a8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -181,7 +181,10 @@ jobs: command: | # uninstall Homebrew's python 2 to prevent errors on brew install brew uninstall python@2 || true - brew update && brew install ccache fftw cmake pkg-config libogg libvorbis lame libsndfile libsamplerate jack sdl libgig libsoundio lilv lv2 stk fluid-synth portaudio fltk qt5 carla + # Working around for https://github.com/Homebrew/brew/pull/9383 + (git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" fetch && git merge FETCH_HEAD --ff-only) || true + (git -C "/usr/local/Homebrew" fetch && git merge FETCH_HEAD --ff-only) || true + brew install ccache fftw cmake pkg-config libogg libvorbis lame libsndfile libsamplerate jack sdl libgig libsoundio lilv lv2 stk fluid-synth portaudio fltk qt5 carla - run: name: Install nodejs dependencies command: npm install -g appdmg