Skip to content

Commit

Permalink
[ci] Only use Xcode 14 on CI builds (#8457)
Browse files Browse the repository at this point in the history
Xcode 14 has not yet been rolled out to all the PR builders.
  • Loading branch information
pjcollins committed Nov 1, 2023
1 parent 94670f6 commit 4d9fe5f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions build-tools/automation/yaml-templates/commercial-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ steps:
# https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/multi-repo-checkout?view=azure-devops#checkout-path
- checkout: yaml-templates

- ${{ if ne(variables['System.PullRequest.IsFork'], 'True') }}:
- script: >
ls -l /Applications &&
sudo xcode-select --switch /Applications/Xcode_14.2.app &&
xcode-select --print-path
displayName: Use Xcode 14.2
- script: >
ls -l /Applications &&
sudo xcode-select --switch /Applications/Xcode_14.2.app &&
xcode-select --print-path
displayName: Use Xcode 14.2
condition: and(succeeded(), eq(variables['MicroBuildSignType'], 'Real'))

- ${{ if ne(variables['System.PullRequest.IsFork'], 'True') }}:
# Clone 'monodroid' without submodules
- checkout: monodroid
clean: true
Expand Down

0 comments on commit 4d9fe5f

Please sign in to comment.