Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions scripts/environment/bootstrap-macos-10.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ unset HOMEBREW_NO_INSTALL_FROM_API

brew update

# `brew install` attempts to upgrade python as a dependency but fails
# https://github.com/actions/setup-python/issues/577
brew list -1 | grep python | while read -r formula; do brew unlink "$formula"; brew link --overwrite "$formula"; done

if [ -n "${CI-}" ] ; then
# avoid building formulas from source since this can take a _long_ time in CI
export HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK=1

# `brew install` attempts to upgrade python as a dependency but fails
# https://github.com/actions/setup-python/issues/577
brew list -1 | grep python | while read -r formula; do brew unlink "$formula"; brew link --overwrite "$formula"; done
fi

brew install ruby@2.7 coreutils cue-lang/tap/cue protobuf

Expand Down