Skip to content

Commit 9e70332

Browse files
committed
Don't update Mono.
1 parent 4720184 commit 9e70332

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

build-tools/automation/yaml-templates/setup-test-environment.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ parameters:
1111
installApkDiff: true
1212
installLegacyDotNet: true
1313
restoreNUnitConsole: true
14+
updateMono: true
1415
androidSdkPlatforms: 19,21,26,32,33
1516

1617
steps:
@@ -61,12 +62,13 @@ steps:
6162
custom: build-server
6263
arguments: shutdown
6364

64-
- template: run-xaprepare.yaml
65-
parameters:
66-
displayName: run xaprepare-UpdateMono
67-
arguments: --s=UpdateMono --auto-provision=yes --auto-provision-uses-sudo=yes
68-
condition: and(succeeded(), eq(variables['agent.os'], 'Darwin'))
69-
xaSourcePath: ${{ parameters.xaSourcePath }}
65+
- ${{ if eq(parameters.updateMono, true) }}:
66+
- template: run-xaprepare.yaml
67+
parameters:
68+
displayName: run xaprepare-UpdateMono
69+
arguments: --s=UpdateMono --auto-provision=yes --auto-provision-uses-sudo=yes
70+
condition: and(succeeded(), eq(variables['agent.os'], 'Darwin'))
71+
xaSourcePath: ${{ parameters.xaSourcePath }}
7072

7173
- template: run-xaprepare.yaml
7274
parameters:

build-tools/automation/yaml-templates/stage-msbuild-emulator-tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ stages:
3737
installApkDiff: false
3838
installLegacyDotNet: false
3939
restoreNUnitConsole: false
40+
updateMono: false
4041
androidSdkPlatforms: $(androidSdkPlatforms)
4142

4243
- template: run-xaprepare.yaml
@@ -101,6 +102,7 @@ stages:
101102
installApkDiff: false
102103
installLegacyDotNet: false
103104
restoreNUnitConsole: false
105+
updateMono: false
104106
androidSdkPlatforms: $(androidSdkPlatforms)
105107

106108
- template: run-xaprepare.yaml

0 commit comments

Comments
 (0)