@@ -13,21 +13,21 @@ resources:
1313 - container : UbuntuCrossArm64Container
1414 image : mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-mlnet-cross-arm64-20210512124625-2e59a5f
1515
16- phases :
16+ jobs :
1717# ###############################################################################
18- - phase : Linux_x64
18+ - job : Linux_x64
1919# ###############################################################################
2020 variables :
2121 BuildConfig : Release
2222 OfficialBuildId : $(BUILD.BUILDNUMBER)
2323 DOTNET_CLI_TELEMETRY_OPTOUT : 1
2424 DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
2525 DOTNET_MULTILEVEL_LOOKUP : 0
26- queue :
26+ pool :
2727 name : DotNet-Build
2828 demands :
2929 - agent.os -equals linux
30- container : CentosContainer
30+ container : CentosContainer
3131 steps :
3232 - script : ./restore.sh
3333 displayName : restore all projects
@@ -45,19 +45,20 @@ phases:
4545 artifactType : container
4646
4747# ###############################################################################
48- - phase : Linux_arm
48+ - job : Linux_arm
4949# ###############################################################################
5050 variables :
5151 BuildConfig : Release-netcoreapp3_1
5252 OfficialBuildId : $(BUILD.BUILDNUMBER)
5353 DOTNET_CLI_TELEMETRY_OPTOUT : 1
5454 DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
5555 DOTNET_MULTILEVEL_LOOKUP : 0
56- queue :
56+ ROOTFS_DIR : ' /crossrootfs/arm'
57+ pool :
5758 name : DotNet-Build
5859 demands :
5960 - agent.os -equals linux
60- container : UbuntuCrossArmContainer
61+ container : UbuntuCrossArmContainer
6162 steps :
6263 - script : ./restore.sh
6364 displayName : restore all projects
@@ -75,19 +76,20 @@ phases:
7576 artifactType : container
7677
7778# ###############################################################################
78- - phase : Linux_arm64
79+ - job : Linux_arm64
7980# ###############################################################################
8081 variables :
8182 BuildConfig : Release-netcoreapp3_1
8283 OfficialBuildId : $(BUILD.BUILDNUMBER)
8384 DOTNET_CLI_TELEMETRY_OPTOUT : 1
8485 DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
8586 DOTNET_MULTILEVEL_LOOKUP : 0
86- queue :
87+ ROOTFS_DIR : ' /crossrootfs/arm64'
88+ pool :
8789 name : DotNet-Build
8890 demands :
8991 - agent.os -equals linux
90- container : UbuntuCrossArm64Container
92+ container : UbuntuCrossArm64Container
9193 steps :
9294 - script : ./restore.sh
9395 displayName : restore all projects
@@ -105,15 +107,15 @@ phases:
105107 artifactType : container
106108
107109# ###############################################################################
108- - phase : MacOS
110+ - job : MacOS
109111# ###############################################################################
110112 variables :
111113 BuildConfig : Release
112114 OfficialBuildId : $(BUILD.BUILDNUMBER)
113115 DOTNET_CLI_TELEMETRY_OPTOUT : 1
114116 DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
115117 DOTNET_MULTILEVEL_LOOKUP : 0
116- queue :
118+ pool :
117119 name : Hosted macOS
118120 steps :
119121 # Work around MacOS Homebrew image/environment bug: https://github.com/actions/virtual-environments/issues/2322#issuecomment-749211076
@@ -137,17 +139,17 @@ phases:
137139 pathToPublish : $(Build.SourcesDirectory)/artifacts/pkgassets
138140 artifactName : PackageAssets
139141 artifactType : container
140-
142+
141143# ###############################################################################
142- - phase : MacOS_Apple_Silicon
144+ - job : MacOS_Apple_Silicon
143145# ###############################################################################
144146 variables :
145147 BuildConfig : Release-netcoreapp3_1
146148 OfficialBuildId : $(BUILD.BUILDNUMBER)
147149 DOTNET_CLI_TELEMETRY_OPTOUT : 1
148150 DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
149151 DOTNET_MULTILEVEL_LOOKUP : 0
150- queue :
152+ pool :
151153 vmImage : macOS-10.15
152154 steps :
153155 # Work around MacOS Homebrew image/environment bug: https://github.com/actions/virtual-environments/issues/2322#issuecomment-749211076
@@ -173,7 +175,7 @@ phases:
173175 artifactType : container
174176
175177# ###############################################################################
176- - phase : Windows_x86
178+ - job : Windows_x86
177179# ###############################################################################
178180 variables :
179181 BuildConfig : Release
@@ -184,7 +186,7 @@ phases:
184186 _SignType : real
185187 _UseEsrpSigning : true
186188 _TeamName : DotNetCore
187- queue :
189+ pool :
188190 name : DotNetCore-Build
189191 demands :
190192 - agent.os -equals Windows_NT
@@ -224,7 +226,7 @@ phases:
224226 displayName : Dotnet Server Shutdown
225227
226228# ###############################################################################
227- - phase : Windows_x64
229+ - job : Windows_x64
228230# ###############################################################################
229231 variables :
230232 BuildConfig : Release
@@ -235,7 +237,7 @@ phases:
235237 _SignType : real
236238 _UseEsrpSigning : true
237239 _TeamName : DotNetCore
238- queue :
240+ pool :
239241 name : DotNetCore-Build
240242 demands :
241243 - agent.os -equals Windows_NT
@@ -278,7 +280,7 @@ phases:
278280 displayName : Dotnet Server Shutdown
279281
280282# ###############################################################################
281- - phase : Package
283+ - job : Package
282284# ###############################################################################
283285 dependsOn :
284286 - Linux_x64
@@ -301,7 +303,7 @@ phases:
301303 _AzureDevopsFeedUrl : https://pkgs.dev.azure.com/dnceng/public/_packaging/MachineLearning/nuget/v3/index.json
302304 _SymwebSymbolServerPath : https://microsoft.artifacts.visualstudio.com/DefaultCollection
303305 _MsdlSymbolServerPath : https://microsoftpublicsymbols.artifacts.visualstudio.com/DefaultCollection
304- queue :
306+ pool :
305307 name : DotNetCore-Build
306308 demands :
307309 - agent.os -equals Windows_NT
0 commit comments