File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
tools/devops/automation/templates/build Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -159,8 +159,14 @@ steps:
159159 AUTH_TOKEN_VSENG_XAMARIN_MAC_DEVICES_P12 : ${{ parameters.xqaCertPass }}
160160 AUTH_TOKEN_VSENG_XAMARIN_MAC_DEVICES_2_P12 : ${{ parameters.xqaCertPass }}
161161
162- - bash : $(Build.SourcesDirectory)/xamarin-macios/system-dependencies.sh --provision-simulators --ignore-shellcheck --ignore-yamllint
163- displayName : ' Provision simulators'
162+ # only install all the simulators when working on a PR, EO machines do not allow use to perform this step
163+ - ${{ if parameters.isPR }} :
164+ - bash : $(Build.SourcesDirectory)/xamarin-macios/system-dependencies.sh --provision-simulators --ignore-shellcheck --ignore-yamllint
165+ displayName : ' Provision simulators'
166+ - ${{ else }} :
167+ - bash : |
168+ xcodebuild -downloadPlatform iOS
169+ displayName: 'Provision simulators'
164170
165171# downloding mono takes time and has been shown to be problematic when we have network issues. This is why we
166172# are using the cache. Mono does not get bump a lot of times if any (after dotnet)
You can’t perform that action at this time.
0 commit comments