Skip to content

Commit

Permalink
[ci] Fix provisioning with sudo (#25722)
Browse files Browse the repository at this point in the history
* try with sudo

* dont do doctor
  • Loading branch information
rmarinho authored Nov 7, 2024
1 parent 27c4f79 commit 6f1322b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions eng/pipelines/common/provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ steps:
sudo xcode-select -s /Applications/Xcode_$(REQUIRED_XCODE).app
xcrun xcode-select --print-path
xcodebuild -version
xcodebuild -downloadAllPlatforms
xcodebuild -runFirstLaunch
sudo xcodebuild -license accept
sudo xcodebuild -downloadAllPlatforms
sudo xcodebuild -runFirstLaunch
displayName: Select Xcode Version
condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin'))
timeoutInMinutes: 30
Expand Down
4 changes: 2 additions & 2 deletions eng/scripts/appium-install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ if ($IsWindows) {
appium driver doctor windows || & { "ignore failure"; $global:LASTEXITCODE = 0 }
}
if ($IsMacOS) {
appium driver doctor xcuitest || & { "ignore failure"; $global:LASTEXITCODE = 0 }
appium driver doctor mac2 || & { "ignore failure"; $global:LASTEXITCODE = 0 }
# appium driver doctor xcuitest || & { "ignore failure"; $global:LASTEXITCODE = 0 }
# appium driver doctor mac2 || & { "ignore failure"; $global:LASTEXITCODE = 0 }
}
appium driver doctor uiautomator2 || & { "ignore failure"; $global:LASTEXITCODE = 0 }

Expand Down

0 comments on commit 6f1322b

Please sign in to comment.