Skip to content

Commit

Permalink
Use Xcode 16.2 to build.
Browse files Browse the repository at this point in the history
Signed-off-by: Ross Goldberg <[email protected]>
  • Loading branch information
rgoldberg committed Dec 27, 2024
1 parent a7781e1 commit 3a22395
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,21 @@ jobs:

- run: brew test-bot --only-tap-syntax

- run: brew test-bot --only-formulae
if: github.event_name == 'pull_request'

- name: Modify bottle to be for oldest macOS version supported by the current platform
- name: Build, test & modify bottle to be for oldest macOS version supported by the current platform
if: github.event_name == 'pull_request'
run: |
autoload zmv
if [[ "${ImageOS}" = macos15 ]]; then
built=sequoia
deploy=big_sur
sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
else
built=ventura
deploy=high_sierra
fi
brew test-bot --only-formulae
autoload zmv
zmv "(*)${built}(*)" "\$1${deploy}\$2"
sed -i '' "s/${built}/${deploy}/g" *"${deploy}.bottle.json"
Expand Down

0 comments on commit 3a22395

Please sign in to comment.