@@ -13,21 +13,21 @@ resources:
13
13
- container : UbuntuCrossArm64Container
14
14
image : mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-mlnet-cross-arm64-20210512124625-2e59a5f
15
15
16
- phases :
16
+ jobs :
17
17
# ###############################################################################
18
- - phase : Linux_x64
18
+ - job : Linux_x64
19
19
# ###############################################################################
20
20
variables :
21
21
BuildConfig : Release
22
22
OfficialBuildId : $(BUILD.BUILDNUMBER)
23
23
DOTNET_CLI_TELEMETRY_OPTOUT : 1
24
24
DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
25
25
DOTNET_MULTILEVEL_LOOKUP : 0
26
- queue :
26
+ pool :
27
27
name : DotNet-Build
28
28
demands :
29
29
- agent.os -equals linux
30
- container : CentosContainer
30
+ container : CentosContainer
31
31
steps :
32
32
- script : ./restore.sh
33
33
displayName : restore all projects
@@ -45,19 +45,20 @@ phases:
45
45
artifactType : container
46
46
47
47
# ###############################################################################
48
- - phase : Linux_arm
48
+ - job : Linux_arm
49
49
# ###############################################################################
50
50
variables :
51
51
BuildConfig : Release-netcoreapp3_1
52
52
OfficialBuildId : $(BUILD.BUILDNUMBER)
53
53
DOTNET_CLI_TELEMETRY_OPTOUT : 1
54
54
DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
55
55
DOTNET_MULTILEVEL_LOOKUP : 0
56
- queue :
56
+ ROOTFS_DIR : ' /crossrootfs/arm'
57
+ pool :
57
58
name : DotNet-Build
58
59
demands :
59
60
- agent.os -equals linux
60
- container : UbuntuCrossArmContainer
61
+ container : UbuntuCrossArmContainer
61
62
steps :
62
63
- script : ./restore.sh
63
64
displayName : restore all projects
@@ -75,19 +76,20 @@ phases:
75
76
artifactType : container
76
77
77
78
# ###############################################################################
78
- - phase : Linux_arm64
79
+ - job : Linux_arm64
79
80
# ###############################################################################
80
81
variables :
81
82
BuildConfig : Release-netcoreapp3_1
82
83
OfficialBuildId : $(BUILD.BUILDNUMBER)
83
84
DOTNET_CLI_TELEMETRY_OPTOUT : 1
84
85
DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
85
86
DOTNET_MULTILEVEL_LOOKUP : 0
86
- queue :
87
+ ROOTFS_DIR : ' /crossrootfs/arm64'
88
+ pool :
87
89
name : DotNet-Build
88
90
demands :
89
91
- agent.os -equals linux
90
- container : UbuntuCrossArm64Container
92
+ container : UbuntuCrossArm64Container
91
93
steps :
92
94
- script : ./restore.sh
93
95
displayName : restore all projects
@@ -105,15 +107,15 @@ phases:
105
107
artifactType : container
106
108
107
109
# ###############################################################################
108
- - phase : MacOS
110
+ - job : MacOS
109
111
# ###############################################################################
110
112
variables :
111
113
BuildConfig : Release
112
114
OfficialBuildId : $(BUILD.BUILDNUMBER)
113
115
DOTNET_CLI_TELEMETRY_OPTOUT : 1
114
116
DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
115
117
DOTNET_MULTILEVEL_LOOKUP : 0
116
- queue :
118
+ pool :
117
119
name : Hosted macOS
118
120
steps :
119
121
# Work around MacOS Homebrew image/environment bug: https://github.com/actions/virtual-environments/issues/2322#issuecomment-749211076
@@ -137,17 +139,17 @@ phases:
137
139
pathToPublish : $(Build.SourcesDirectory)/artifacts/pkgassets
138
140
artifactName : PackageAssets
139
141
artifactType : container
140
-
142
+
141
143
# ###############################################################################
142
- - phase : MacOS_Apple_Silicon
144
+ - job : MacOS_Apple_Silicon
143
145
# ###############################################################################
144
146
variables :
145
147
BuildConfig : Release-netcoreapp3_1
146
148
OfficialBuildId : $(BUILD.BUILDNUMBER)
147
149
DOTNET_CLI_TELEMETRY_OPTOUT : 1
148
150
DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
149
151
DOTNET_MULTILEVEL_LOOKUP : 0
150
- queue :
152
+ pool :
151
153
vmImage : macOS-10.15
152
154
steps :
153
155
# Work around MacOS Homebrew image/environment bug: https://github.com/actions/virtual-environments/issues/2322#issuecomment-749211076
@@ -173,7 +175,7 @@ phases:
173
175
artifactType : container
174
176
175
177
# ###############################################################################
176
- - phase : Windows_x86
178
+ - job : Windows_x86
177
179
# ###############################################################################
178
180
variables :
179
181
BuildConfig : Release
@@ -184,7 +186,7 @@ phases:
184
186
_SignType : real
185
187
_UseEsrpSigning : true
186
188
_TeamName : DotNetCore
187
- queue :
189
+ pool :
188
190
name : DotNetCore-Build
189
191
demands :
190
192
- agent.os -equals Windows_NT
@@ -224,7 +226,7 @@ phases:
224
226
displayName : Dotnet Server Shutdown
225
227
226
228
# ###############################################################################
227
- - phase : Windows_x64
229
+ - job : Windows_x64
228
230
# ###############################################################################
229
231
variables :
230
232
BuildConfig : Release
@@ -235,7 +237,7 @@ phases:
235
237
_SignType : real
236
238
_UseEsrpSigning : true
237
239
_TeamName : DotNetCore
238
- queue :
240
+ pool :
239
241
name : DotNetCore-Build
240
242
demands :
241
243
- agent.os -equals Windows_NT
@@ -278,7 +280,7 @@ phases:
278
280
displayName : Dotnet Server Shutdown
279
281
280
282
# ###############################################################################
281
- - phase : Package
283
+ - job : Package
282
284
# ###############################################################################
283
285
dependsOn :
284
286
- Linux_x64
@@ -301,7 +303,7 @@ phases:
301
303
_AzureDevopsFeedUrl : https://pkgs.dev.azure.com/dnceng/public/_packaging/MachineLearning/nuget/v3/index.json
302
304
_SymwebSymbolServerPath : https://microsoft.artifacts.visualstudio.com/DefaultCollection
303
305
_MsdlSymbolServerPath : https://microsoftpublicsymbols.artifacts.visualstudio.com/DefaultCollection
304
- queue :
306
+ pool :
305
307
name : DotNetCore-Build
306
308
demands :
307
309
- agent.os -equals Windows_NT
0 commit comments