Skip to content

Commit

Permalink
update pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
hieunguyenmsft committed Feb 11, 2025
1 parent 51ba498 commit 53d719b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion azure_pipelines/broker_submodule_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
displayName: 'Select Xcode version'
inputs:
targetType: 'inline'
script: '/bin/bash -c "sudo xcode-select -s /Applications/Xcode_15.4.app"'
script: '/bin/bash -c "sudo xcode-select -s /Applications/Xcode_16.2.0.app"'

# The following is needed to install the visionOS SDK on macos-14 vm image which
# doesn't have visionOS installed by default.
Expand Down
7 changes: 6 additions & 1 deletion azure_pipelines/msal_submodule_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,13 @@ jobs:

steps:
- script: |
if [ "$(target)" != "macFramework" ] && [ "$(target)" != "visionOSFramework" ]; then
echo "Switching to Xcode 16.2 for iOS target"
/bin/bash -c "sudo xcode-select -s /Applications/Xcode_16.2.0.app"
else
/bin/bash -c "sudo xcode-select -s /Applications/Xcode_15.4.app"
displayName: 'Switch to use Xcode 15.4'
fi
displayName: 'Switch to use Xcode'
- task: CmdLine@2
displayName: Uninstalling xcpretty v0.4.0
inputs:
Expand Down
8 changes: 7 additions & 1 deletion azure_pipelines/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,13 @@ jobs:
displayName: 'Select Xcode version'
inputs:
targetType: 'inline'
script: '/bin/bash -c "sudo xcode-select -s /Applications/Xcode_15.4.app"'
script: |
if [ "$(target)" == "ios_library" ]; then
echo "Switching to ios 16 for iOS target"
/bin/bash -c "sudo xcode-select -s /Applications/Xcode_16.2.0.app"
else
/bin/bash -c "sudo xcode-select -s /Applications/Xcode_15.4.app"
fi
- task: Bash@3
displayName: Removing any lingering codecov files. These can cause issues when the xcode version changes
inputs:
Expand Down

0 comments on commit 53d719b

Please sign in to comment.