@@ -75,6 +75,18 @@ stages:
75
75
displayName : Build and Test Diagnostics
76
76
jobs :
77
77
78
+ # ###########################
79
+ # #
80
+ # Source Build legs #
81
+ # #
82
+ # ###########################
83
+
84
+ - template : /eng/common/templates/job/source-build.yml
85
+ parameters :
86
+ platform :
87
+ name : Complete
88
+ buildScript : ./eng/common/build.sh
89
+
78
90
# ###########################
79
91
# #
80
92
# Build legs #
@@ -131,6 +143,7 @@ stages:
131
143
name : Alpine3_6
132
144
osGroup : Linux
133
145
dockerImage : mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.6-WithNode-f4d3fe3-20181220200247
146
+ artifactsTargetPath : bin/Linux-musl.x64.Release
134
147
strategy :
135
148
matrix :
136
149
Build_Release :
@@ -161,6 +174,7 @@ stages:
161
174
parameters :
162
175
name : MacOS_cross
163
176
osGroup : MacOS_cross
177
+ buildAndSkipTest : true
164
178
strategy :
165
179
matrix :
166
180
Build_Release :
@@ -179,10 +193,10 @@ stages:
179
193
osGroup : Linux
180
194
dockerImage : mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-14.04-cross-1735d26-20190521133857
181
195
crossrootfsDir : ' /crossrootfs/arm'
196
+ buildAndSkipTest : true
182
197
strategy :
183
198
matrix :
184
199
Build_Release :
185
- _BuildOnly : true
186
200
_BuildConfig : Release
187
201
_BuildArch : arm
188
202
_PublishArtifacts : bin/Linux.arm.Release
@@ -193,10 +207,10 @@ stages:
193
207
osGroup : Linux
194
208
dockerImage : mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-cross-arm64-a3ae44b-20180315221921
195
209
crossrootfsDir : ' /crossrootfs/arm64'
210
+ buildAndSkipTest : true
196
211
strategy :
197
212
matrix :
198
213
Build_Release :
199
- _BuildOnly : true
200
214
_BuildConfig : Release
201
215
_BuildArch : arm64
202
216
_PublishArtifacts : bin/Linux.arm64.Release
@@ -207,10 +221,11 @@ stages:
207
221
osGroup : Linux
208
222
dockerImage : mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-cross-arm64-alpine-406629a-20200127195039
209
223
crossrootfsDir : ' /crossrootfs/arm64'
224
+ artifactsTargetPath : bin/Linux-musl.arm64.Release
225
+ buildAndSkipTest : true
210
226
strategy :
211
227
matrix :
212
228
Build_Release :
213
- _BuildOnly : true
214
229
_BuildConfig : Release
215
230
_BuildArch : arm64
216
231
_PublishArtifacts : bin/Linux.arm64.Release
@@ -242,6 +257,7 @@ stages:
242
257
dockerImage : mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-28-09ca40b-20190508143249
243
258
dependsOn : CentOS_7
244
259
testOnly : true
260
+ requiresCapPtraceContainer : true
245
261
strategy :
246
262
matrix :
247
263
Build_Debug :
@@ -255,6 +271,7 @@ stages:
255
271
dockerImage : mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-29-09ca40b-20190508143249
256
272
dependsOn : CentOS_7
257
273
testOnly : true
274
+ requiresCapPtraceContainer : true
258
275
strategy :
259
276
matrix :
260
277
Build_Debug :
@@ -314,7 +331,6 @@ stages:
314
331
_BuildArch : x64
315
332
316
333
# Download, sign, package and publish
317
-
318
334
- ${{ if notin(variables['Build.Reason'], 'PullRequest') }} :
319
335
- template : /eng/common/templates/job/job.yml
320
336
parameters :
@@ -332,122 +348,34 @@ stages:
332
348
condition : succeeded()
333
349
pool :
334
350
name : NetCoreInternal-Pool
335
- queue : BuildPool.Windows.10.Amd64.VS2017
351
+ queue : BuildPool.Windows.10.Amd64.VS2019
336
352
enablePublishUsingPipelines : true
337
353
enableMicrobuild : true
338
354
artifacts :
339
355
publish :
340
356
logs :
341
357
name : Logs_Packaging_Signing
342
358
steps :
343
-
344
- # Windows x64 download. Everything under "bin" is published for the Windows x64 build.
345
-
346
- - task : DownloadPipelineArtifact@2
347
- displayName : Download Windows x64 and Managed Artifacts
348
- inputs :
349
- artifactName : Windows_x64_Release
350
- targetPath : ' $(Build.SourcesDirectory)/artifacts/bin'
351
- condition : succeeded()
352
-
353
- # Windows x86 download
354
-
355
- - task : DownloadPipelineArtifact@2
356
- displayName : Download Windows x86 Artifacts
357
- inputs :
358
- artifactName : Windows_x86_Release
359
- targetPath : ' $(Build.SourcesDirectory)/artifacts/bin/Windows_NT.x86.Release'
360
- condition : succeeded()
361
-
362
- # Windows arm download
363
-
364
- - task : DownloadPipelineArtifact@2
365
- displayName : Download Windows Arm Artifacts
366
- inputs :
367
- artifactName : Windows_arm_Release
368
- targetPath : ' $(Build.SourcesDirectory)/artifacts/bin/Windows_NT.arm.Release'
369
- condition : succeeded()
370
-
371
- # Windows arm64 download
372
-
373
- - task : DownloadPipelineArtifact@2
374
- displayName : Download Windows Arm64 Artifacts
375
- inputs :
376
- artifactName : Windows_arm64_Release
377
- targetPath : ' $(Build.SourcesDirectory)/artifacts/bin/Windows_NT.arm64.Release'
378
- condition : succeeded()
379
-
380
- # Linux x64 download
381
-
382
- - task : DownloadPipelineArtifact@2
383
- displayName : Download Linux Artifacts
384
- inputs :
385
- artifactName : CentOS_7_x64_Release
386
- targetPath : ' $(Build.SourcesDirectory)/artifacts/bin/Linux.x64.Release'
387
- condition : succeeded()
388
-
389
- # Linux MUSL x64 download
390
-
391
- - task : DownloadPipelineArtifact@2
392
- displayName : Download Linux Musl Artifacts
393
- inputs :
394
- artifactName : Alpine3_6_x64_Release
395
- targetPath : ' $(Build.SourcesDirectory)/artifacts/bin/Linux-musl.x64.Release'
396
- condition : succeeded()
397
-
398
- # Linux arm download
399
-
400
- - task : DownloadPipelineArtifact@2
401
- displayName : Download Linux Arm Artifacts
402
- inputs :
403
- artifactName : Linux_cross_arm_Release
404
- targetPath : ' $(Build.SourcesDirectory)/artifacts/bin/Linux.arm.Release'
405
- condition : succeeded()
406
-
407
- # Linux arm64 download
408
-
409
- - task : DownloadPipelineArtifact@2
410
- displayName : Download Linux Arm64 Artifacts
359
+ - task : DownloadBuildArtifacts@0
360
+ displayName : ' Download release builds'
411
361
inputs :
412
- artifactName : Linux_cross64_arm64_Release
413
- targetPath : ' $(Build.SourcesDirectory)/artifacts/bin/Linux.arm64.Release'
414
- condition : succeeded()
415
-
416
- # Linux MUSL arm64 download
417
-
418
- - task : DownloadPipelineArtifact@2
419
- displayName : Download Linux Musl arm64 Artifacts
420
- inputs :
421
- artifactName : Alpine3_6_cross64_arm64_Release
422
- targetPath : ' $(Build.SourcesDirectory)/artifacts/bin/Linux-musl.arm64.Release'
423
- condition : succeeded()
424
-
425
- # MacOS download
426
-
427
- - task : DownloadPipelineArtifact@2
428
- displayName : Download MacOS Artifacts
362
+ downloadPath : ' $(Build.ArtifactStagingDirectory)/__download__'
363
+ artifactName : Build_Release
364
+ checkDownloadedFiles : true
365
+ - task : CopyFiles@2
366
+ displayName : ' Binplace Product'
429
367
inputs :
430
- artifactName : MacOS_x64_Release
431
- targetPath : ' $(Build.SourcesDirectory)/artifacts/bin/OSX.x64.Release'
432
- condition : succeeded()
433
-
434
- # MacOS arm64 download
435
-
436
- - task : DownloadPipelineArtifact@2
437
- displayName : Download MacOS arm64 Artifacts
438
- inputs :
439
- artifactName : MacOS_cross_arm64_Release
440
- targetPath : ' $(Build.SourcesDirectory)/artifacts/bin/OSX.arm64.Release'
441
- condition : succeeded()
368
+ sourceFolder : $(Build.ArtifactStagingDirectory)/__download__/Build_Release
369
+ targetFolder : ' $(Build.SourcesDirectory)/artifacts/'
442
370
371
+ # Windows x64 download. Everything under "bin" is published for the Windows x64 build.
443
372
# Create nuget packages, sign binaries and publish to blob feed
444
373
- script : $(Build.SourcesDirectory)\eng\ci-prepare-artifacts.cmd $(_InternalBuildArgs)
445
374
displayName : Package, Sign, and Publish
446
375
continueOnError : false
447
376
condition : succeeded()
448
377
449
378
# Publish package and log build artifacts
450
-
451
379
- task : PublishBuildArtifacts@1
452
380
displayName : Publish Package Artifacts
453
381
inputs :
@@ -473,7 +401,7 @@ stages:
473
401
publishUsingPipelines : true
474
402
pool :
475
403
name : NetCoreInternal-Pool
476
- queue : buildpool.windows.10.amd64.vs2017
404
+ queue : buildpool.windows.10.amd64.vs2019
477
405
478
406
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
479
407
- template : /eng/common/templates/post-build/post-build.yml
0 commit comments