@@ -41,32 +41,20 @@ extends:
41
41
parameters :
42
42
stages :
43
43
- stage : build
44
- displayName : Build and Test Diagnostics
44
+ displayName : Build Diagnostics Assets
45
45
jobs :
46
46
47
- # ###########################
48
- # #
49
- # Source Build legs #
50
- # #
51
- # ###########################
52
-
53
47
- template : ${{ variables.sourceBuildTemplate }}
54
48
parameters :
55
49
platform :
56
50
name : Complete
57
51
buildScript : ./eng/common/build.sh
58
52
59
- # ###########################
60
- # #
61
- # Build legs #
62
- # #
63
- # ###########################
64
-
65
53
- template : /eng/pipelines/build.yml
66
54
parameters :
67
55
jobTemplate : ${{ variables.jobTemplate }}
68
- name : Windows
69
- osGroup : Windows_NT
56
+ osGroup : Windows
57
+ buildOnly : true
70
58
buildConfigs :
71
59
- configuration : Debug
72
60
architecture : x64
@@ -123,6 +111,7 @@ extends:
123
111
parameters :
124
112
jobTemplate : ${{ variables.jobTemplate }}
125
113
osGroup : MacOS
114
+ buildOnly : true
126
115
buildConfigs :
127
116
- configuration : Release
128
117
architecture : x64
@@ -200,19 +189,46 @@ extends:
200
189
artifactUploadPath : bin/linux.arm64.Release
201
190
artifactTargetPath : bin/linux-musl.arm64.Release
202
191
203
- # ###########################
204
- # #
205
- # Test only legs #
206
- # #
207
- # ###########################
192
+ - stage : test
193
+ displayName : Run Diagnostics Tests
194
+ jobs :
195
+
196
+ - template : /eng/pipelines/build.yml
197
+ parameters :
198
+ jobTemplate : ${{ variables.jobTemplate }}
199
+ osGroup : Windows
200
+ testOnly : true
201
+ buildConfigs :
202
+ - configuration : Debug
203
+ architecture : x64
204
+ - configuration : Release
205
+ architecture : x64
206
+ - configuration : Release
207
+ architecture : x86
208
+ - ${{ if ne(variables['System.TeamProject'], 'public') }} :
209
+ - configuration : Release
210
+ architecture : arm
211
+ - configuration : Release
212
+ architecture : arm64
213
+
214
+ - template : /eng/pipelines/build.yml
215
+ parameters :
216
+ jobTemplate : ${{ variables.jobTemplate }}
217
+ osGroup : MacOS
218
+ testOnly : true
219
+ buildConfigs :
220
+ - configuration : Release
221
+ architecture : x64
222
+ - ${{ if in(variables['Build.Reason'], 'PullRequest') }} :
223
+ - configuration : Debug
224
+ architecture : x64
208
225
209
226
- template : /eng/pipelines/build.yml
210
227
parameters :
211
228
jobTemplate : ${{ variables.jobTemplate }}
212
229
name : Ubuntu_20_04
213
230
osGroup : Linux
214
231
container : test_ubuntu_20_04
215
- dependsOn : Linux
216
232
testOnly : true
217
233
buildConfigs :
218
234
- configuration : Release
@@ -227,7 +243,6 @@ extends:
227
243
name : Ubuntu_22_04
228
244
osGroup : Linux
229
245
container : test_ubuntu_22_04
230
- dependsOn : Linux
231
246
testOnly : true
232
247
buildConfigs :
233
248
- configuration : Release
@@ -243,7 +258,6 @@ extends:
243
258
osGroup : Linux
244
259
osSuffix : -musl
245
260
container : test_linux_musl_x64
246
- dependsOn : Linux_musl
247
261
testOnly : true
248
262
disableComponentGovernance : true
249
263
buildConfigs :
@@ -261,7 +275,6 @@ extends:
261
275
osGroup : Linux
262
276
container : test_debian_11_amd64
263
277
dependsOn : Linux
264
- testOnly : true
265
278
buildConfigs :
266
279
- configuration : Release
267
280
architecture : x64
@@ -275,7 +288,6 @@ extends:
275
288
name : Fedora_39
276
289
osGroup : Linux
277
290
container : test_fedora
278
- dependsOn : Linux
279
291
testOnly : true
280
292
buildConfigs :
281
293
- configuration : Release
@@ -287,6 +299,7 @@ extends:
287
299
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
288
300
- stage : package
289
301
displayName : Package, Sign, and Generate BAR Manifests
302
+ dependsOn : build
290
303
jobs :
291
304
- template : /eng/common/templates-official/job/job.yml
292
305
parameters :
@@ -366,6 +379,7 @@ extends:
366
379
enableNugetValidation : true
367
380
symbolPublishingAdditionalParameters : ' /p:PublishSpecialClrFiles=false'
368
381
publishInstallersAndChecksums : true
382
+ publishAssetsImmediately : true
369
383
370
384
# This sets up the bits to do a Release.
371
385
- template : /eng/pipelines/prepare-release.yml
0 commit comments