Skip to content

Commit

Permalink
[GA] Run brew update on native macOS runners
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuzzbawls committed Apr 3, 2024
1 parent 7954d0a commit a02ab8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ jobs:
sudo apt-get install --no-install-recommends --no-upgrade -qq "$APT_BASE" ${{ matrix.config.packages }}
fi
if [[ ${{ matrix.config.os }} = macos* ]]; then
brew update
brew install "$APT_BASE" ${{ matrix.config.packages }}
# GA's macOS 11 image is inconsistent as to if it includes a pre-installed version of boost. Force linking
# to the specified version (1.76), which will overwrite the symlinks to a pre-existing version if it exists.
Expand Down Expand Up @@ -219,6 +220,7 @@ jobs:
sudo apt-get install --no-install-recommends --no-upgrade -qq "$APT_BASE" ${{ matrix.config.apt_get }}
fi
if [[ ${{ matrix.config.os }} = macos* ]]; then
brew update
brew install ${{ matrix.config.brew_install }}
pip3.8 install ds_store mac_alias
fi
Expand Down

0 comments on commit a02ab8d

Please sign in to comment.