Skip to content

Commit

Permalink
update Xcode version
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Oct 9, 2024
1 parent 18aeb61 commit a72bdb9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .ci/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,12 @@ ARCH=$(uname -m)


if [[ $OS_NAME == "macos" ]]; then
# Check https://github.com/actions/runner-images/tree/main/images/macos for available
# versions of Xcode
sudo xcode-select -s /Applications/Xcode_14.3.1.app/Contents/Developer || exit 1
if [[ $COMPILER == "clang" ]]; then
brew install libomp
if [[ $AZURE == "true" ]]; then
sudo xcode-select -s /Applications/Xcode_13.1.0.app/Contents/Developer || exit 1
fi
else # gcc
# Check https://github.com/actions/runner-images/tree/main/images/macos for available
# versions of Xcode
sudo xcode-select -s /Applications/Xcode_14.3.1.app/Contents/Developer || exit 1
brew install 'gcc@12'
fi
if [[ $TASK == "mpi" ]]; then
Expand Down

0 comments on commit a72bdb9

Please sign in to comment.