Skip to content

Commit

Permalink
Allow brew to update on CircleCI.
Browse files Browse the repository at this point in the history
Partially reverts #2608, but we no longer special case some packages and updating brew seems more important.
  • Loading branch information
onetechnical committed Sep 18, 2024
1 parent 02a5501 commit 03d7844
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions scripts/configure_dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,13 @@ if [ "${OS}" = "linux" ]; then
sudo "$SCRIPTPATH/install_linux_deps.sh"
fi
elif [ "${OS}" = "darwin" ]; then
if [ "${CIRCLECI}" != "true" ]; then
brew update
brew_version=$(brew --version | head -1 | cut -d' ' -f2)
major_version=$(echo $brew_version | cut -d. -f1)
minor_version=$(echo $brew_version | cut -d. -f2)
version_decimal="$major_version.$minor_version"
if (($(echo "$version_decimal < 2.5" | bc -l))); then
brew tap homebrew/cask
fi
brew update
brew_version=$(brew --version | head -1 | cut -d' ' -f2)
major_version=$(echo $brew_version | cut -d. -f1)
minor_version=$(echo $brew_version | cut -d. -f2)
version_decimal="$major_version.$minor_version"
if (($(echo "$version_decimal < 2.5" | bc -l))); then
brew tap homebrew/cask
fi
install_or_upgrade pkg-config
install_or_upgrade libtool
Expand Down

0 comments on commit 03d7844

Please sign in to comment.