Skip to content

Commit 524fb76

Browse files
[CI] Bring needed changes in the CI from main.
1 parent 4504840 commit 524fb76

File tree

1 file changed

+8
-2
lines changed
  • tools/devops/automation/templates/build

1 file changed

+8
-2
lines changed

tools/devops/automation/templates/build/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)