File tree Expand file tree Collapse file tree 5 files changed +12
-10
lines changed
build-tools/automation/yaml-templates Expand file tree Collapse file tree 5 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 1
1
parameters :
2
- jdkMajorVersion : $(DefaultJavaSdkMajorVersion)
3
- useAgentJdkPath : true
2
+ jdkMajorVersion : $(DefaultJavaSdkMajorVersion) # Generally 11|17|21
3
+ useAgentJdkPath : true # true to use preinstalled agent JDK, false to use 'android-toolchain/jdk-NN'
4
4
5
5
steps :
6
6
- pwsh : |
7
7
$agentOS="$(Agent.OS)"
8
- $agentArch="$(Agent.OSArchitecture)"
8
+ $agentArch="$(Agent.OSArchitecture)" -eq "ARM64" ? "arm64" : "$(Agent.OSArchitecture)"
9
9
$jdkMajorVersion="${{ parameters.jdkMajorVersion }}"
10
10
$xaPrepareJdkPath="$env:HOME/android-toolchain/jdk-$jdkMajorVersion"
11
11
if ("$agentOS" -eq "Windows_NT") {
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ stages:
27
27
displayName : " macOS > Tests > MSBuild+Emulator"
28
28
pool :
29
29
name : Azure Pipelines
30
- vmImage : $(HostedMacImage )
30
+ vmImage : $(HostedMacImageWithEmulator )
31
31
os : macOS
32
32
timeoutInMinutes : 180
33
33
cancelTimeoutInMinutes : 5
@@ -89,7 +89,7 @@ stages:
89
89
deviceName : wear_square
90
90
pool :
91
91
name : Azure Pipelines
92
- vmImage : $(HostedMacImage )
92
+ vmImage : $(HostedMacImageWithEmulator )
93
93
os : macOS
94
94
workspace :
95
95
clean : all
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ stages:
22
22
testOS : macOS
23
23
jobName : mac_msbuild_tests
24
24
jobDisplayName : macOS > Tests > MSBuild
25
- agentCount : 14
25
+ agentCount : 10
26
26
xaSourcePath : ${{ parameters.xaSourcePath }}
27
27
repositoryAlias : ${{ parameters.repositoryAlias }}
28
28
commit : ${{ parameters.commit }}
@@ -34,7 +34,7 @@ stages:
34
34
testOS : Windows
35
35
jobName : win_msbuild_tests
36
36
jobDisplayName : Windows > Tests > MSBuild
37
- agentCount : 6
37
+ agentCount : 8
38
38
xaSourcePath : ${{ parameters.xaSourcePath }}
39
39
repositoryAlias : ${{ parameters.repositoryAlias }}
40
40
commit : ${{ parameters.commit }}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ stages:
13
13
displayName : macOS > Tests > APKs 1
14
14
pool :
15
15
name : Azure Pipelines
16
- vmImage : $(HostedMacImage )
16
+ vmImage : $(HostedMacImageWithEmulator )
17
17
os : macOS
18
18
timeoutInMinutes : 180
19
19
workspace :
@@ -120,7 +120,7 @@ stages:
120
120
displayName : macOS > Tests > APKs 2
121
121
pool :
122
122
name : Azure Pipelines
123
- vmImage : $(HostedMacImage )
123
+ vmImage : $(HostedMacImageWithEmulator )
124
124
os : macOS
125
125
timeoutInMinutes : 180
126
126
workspace :
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ variables:
14
14
- name : WindowsToolchainPdbArtifactName
15
15
value : windows-toolchain-pdb
16
16
- name : ApkDiffToolVersion
17
- value : 0.0.15
17
+ value : 0.0.17
18
18
- name : TestSlicerToolVersion
19
19
value : 0.1.0-alpha7
20
20
- name : BootsToolVersion
@@ -30,6 +30,8 @@ variables:
30
30
- name : GitHub.Token
31
31
value : $(github--pat--vs-mobiletools-engineering-service2)
32
32
- name : HostedMacImage
33
+ value : macOS-14-arm64
34
+ - name : HostedMacImageWithEmulator
33
35
value : macOS-14
34
36
- name : SharedMacPool
35
37
value : VSEng-VSMac-Xamarin-Shared
You can’t perform that action at this time.
0 commit comments