@@ -30,6 +30,7 @@ variables:
30
30
extends :
31
31
template : /eng/pipelines/common/templates/pipeline-with-resources.yml
32
32
parameters :
33
+ isOfficialBuild : true
33
34
stages :
34
35
- stage : Build
35
36
jobs :
@@ -38,7 +39,7 @@ extends:
38
39
# Localization build
39
40
#
40
41
41
- - template : /eng/common/templates/job/onelocbuild.yml
42
+ - template : /eng/common/templates-official /job/onelocbuild.yml
42
43
parameters :
43
44
MirrorRepo : runtime
44
45
MirrorBranch : main
@@ -49,7 +50,7 @@ extends:
49
50
# Source Index Build
50
51
#
51
52
- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }} :
52
- - template : /eng/common/templates/job/source-index-stage1.yml
53
+ - template : /eng/common/templates-official /job/source-index-stage1.yml
53
54
parameters :
54
55
sourceIndexBuildCommand : build.cmd -subset libs.sfx+libs.oob -binarylog -os linux -ci /p:SkipLibrariesNativeRuntimePackages=true
55
56
@@ -66,6 +67,7 @@ extends:
66
67
- windows_x64
67
68
- windows_arm64
68
69
jobParameters :
70
+ templatePath : ' templates-official'
69
71
buildArgs : -s clr.runtime+clr.alljits+clr.nativeaotruntime -c $(_BuildConfig) /bl:$(Build.SourcesDirectory)/artifacts/logs/$(_BuildConfig)/CoreClrNativeBuild.binlog
70
72
nameSuffix : CoreCLR
71
73
isOfficialBuild : ${{ variables.isOfficialBuild }}
@@ -101,6 +103,7 @@ extends:
101
103
platforms :
102
104
- windows_x86
103
105
jobParameters :
106
+ templatePath : ' templates-official'
104
107
buildArgs : -s clr.runtime+clr.alljits -c $(_BuildConfig) /bl:$(Build.SourcesDirectory)/artifacts/logs/$(_BuildConfig)/CoreClrNativeBuild.binlog
105
108
nameSuffix : CoreCLR
106
109
isOfficialBuild : ${{ variables.isOfficialBuild }}
@@ -134,6 +137,7 @@ extends:
134
137
- osx_arm64
135
138
- osx_x64
136
139
jobParameters :
140
+ templatePath : ' templates-official'
137
141
buildArgs : -s clr.runtime+clr.alljits+clr.nativeaotruntime+host.native -c $(_BuildConfig) /bl:$(Build.SourcesDirectory)/artifacts/logs/$(_BuildConfig)/CoreClrNativeBuild.binlog
138
142
nameSuffix : CoreCLR
139
143
isOfficialBuild : ${{ variables.isOfficialBuild }}
@@ -189,6 +193,7 @@ extends:
189
193
- linux_musl_arm
190
194
- linux_musl_arm64
191
195
jobParameters :
196
+ templatePath : ' templates-official'
192
197
buildArgs : -s clr.runtime+clr.alljits+clr.corelib+clr.nativecorelib+clr.tools+clr.aot+clr.packages+libs+host+packs -c $(_BuildConfig)
193
198
nameSuffix : CoreCLR
194
199
isOfficialBuild : ${{ variables.isOfficialBuild }}
@@ -201,12 +206,12 @@ extends:
201
206
SourceFolder : $(Build.SourcesDirectory)/artifacts/bin/coreclr/$(osGroup).$(archType).$(_BuildConfig)
202
207
Contents : libcoreclr.so
203
208
TargetFolder : $(Build.SourcesDirectory)/artifacts/CoreCLRCrossDacArtifacts/$(osGroup)$(osSubgroup).$(archType).$(_BuildConfig)/$(crossDacHostArch)
204
- - task : PublishBuildArtifacts@1
209
+ - task : 1ES. PublishBuildArtifacts@1
205
210
displayName : Publish runtime for CrossDac
206
211
inputs :
207
- pathToPublish : $(Build.SourcesDirectory)/artifacts/CoreCLRCrossDacArtifacts
212
+ PathtoPublish : $(Build.SourcesDirectory)/artifacts/CoreCLRCrossDacArtifacts
208
213
PublishLocation : Container
209
- artifactName : CoreCLRCrossDacArtifacts
214
+ ArtifactName : CoreCLRCrossDacArtifacts
210
215
# Create RPMs and DEBs
211
216
- template : /eng/pipelines/installer/jobs/steps/build-linux-package.yml
212
217
parameters :
@@ -242,6 +247,7 @@ extends:
242
247
platforms :
243
248
- windows_x64
244
249
jobParameters :
250
+ templatePath : ' templates-official'
245
251
buildArgs : -s crossdacpack -c $(_BuildConfig) /p:CrossDacArtifactsDir=$(crossDacArtifactsPath)
246
252
nameSuffix : CrossDac
247
253
isOfficialBuild : ${{ variables.isOfficialBuild }}
@@ -321,6 +327,7 @@ extends:
321
327
- windows_x64
322
328
- windows_arm64
323
329
jobParameters :
330
+ templatePath : ' templates-official'
324
331
buildArgs : -s clr.nativeaotlibs+clr.nativeaotruntime+libs+packs -c $(_BuildConfig) /p:BuildNativeAOTRuntimePack=true /p:SkipLibrariesNativeRuntimePackages=true
325
332
nameSuffix : NativeAOT
326
333
isOfficialBuild : ${{ variables.isOfficialBuild }}
@@ -364,6 +371,7 @@ extends:
364
371
- windows_x86
365
372
# - windows_arm64
366
373
jobParameters :
374
+ templatePath : ' templates-official'
367
375
buildArgs : -s mono+libs+host+packs -c $(_BuildConfig) /p:BuildMonoAOTCrossCompiler=false
368
376
nameSuffix : Mono
369
377
isOfficialBuild : ${{ variables.isOfficialBuild }}
@@ -381,6 +389,7 @@ extends:
381
389
- browser_wasm
382
390
- wasi_wasm
383
391
jobParameters :
392
+ templatePath : ' templates-official'
384
393
buildArgs : -s mono+libs+host+packs -c $(_BuildConfig) /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)
385
394
nameSuffix : Mono
386
395
isOfficialBuild : ${{ variables.isOfficialBuild }}
@@ -397,6 +406,7 @@ extends:
397
406
platforms :
398
407
- browser_wasm
399
408
jobParameters :
409
+ templatePath : ' templates-official'
400
410
buildArgs : -s mono+libs+host+packs -c $(_BuildConfig) /p:WasmEnableThreads=true /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)
401
411
nameSuffix : Mono_multithread
402
412
isOfficialBuild : ${{ variables.isOfficialBuild }}
@@ -420,6 +430,7 @@ extends:
420
430
- ios_arm64
421
431
- maccatalyst_x64
422
432
jobParameters :
433
+ templatePath : ' templates-official'
423
434
isOfficialBuild : ${{ variables.isOfficialBuild }}
424
435
425
436
#
@@ -436,6 +447,7 @@ extends:
436
447
- linux_arm64
437
448
- linux_musl_arm64
438
449
jobParameters :
450
+ templatePath : ' templates-official'
439
451
buildArgs : -s mono+packs -c $(_BuildConfig)
440
452
/p:MonoCrossAOTTargetOS=android+browser+wasi /p:SkipMonoCrossJitConfigure=true /p:BuildMonoAOTCrossCompilerOnly=true
441
453
nameSuffix : CrossAOT_Mono
@@ -463,6 +475,7 @@ extends:
463
475
- windows_arm64
464
476
- windows_x64
465
477
jobParameters :
478
+ templatePath : ' templates-official'
466
479
buildArgs : -s mono+packs -c $(_BuildConfig)
467
480
/p:MonoCrossAOTTargetOS=android+browser+wasi /p:SkipMonoCrossJitConfigure=true /p:BuildMonoAOTCrossCompilerOnly=true
468
481
nameSuffix : CrossAOT_Mono
@@ -490,6 +503,7 @@ extends:
490
503
- osx_x64
491
504
- osx_arm64
492
505
jobParameters :
506
+ templatePath : ' templates-official'
493
507
buildArgs : -s mono+packs -c $(_BuildConfig)
494
508
/p:MonoCrossAOTTargetOS=android+browser+wasi+tvos+ios+maccatalyst /p:SkipMonoCrossJitConfigure=true /p:BuildMonoAOTCrossCompilerOnly=true
495
509
nameSuffix : CrossAOT_Mono
@@ -535,6 +549,7 @@ extends:
535
549
buildConfig : release
536
550
runtimeFlavor : mono
537
551
jobParameters :
552
+ templatePath : ' templates-official'
538
553
buildArgs : -s mono+libs+host+packs -c $(_BuildConfig)
539
554
/p:MonoEnableLLVM=true /p:MonoBundleLLVMOptimizer=false
540
555
nameSuffix : Mono_LLVMJIT
@@ -549,6 +564,7 @@ extends:
549
564
buildConfig : release
550
565
runtimeFlavor : mono
551
566
jobParameters :
567
+ templatePath : ' templates-official'
552
568
buildArgs : -s mono+libs+host+packs -c $(_BuildConfig)
553
569
/p:MonoEnableLLVM=true /p:MonoAOTEnableLLVM=true /p:MonoBundleLLVMOptimizer=true
554
570
nameSuffix : Mono_LLVMAOT
@@ -569,6 +585,7 @@ extends:
569
585
platforms :
570
586
- windows_x64
571
587
jobParameters :
588
+ templatePath : ' templates-official'
572
589
buildArgs : -s tools+libs -allConfigurations -c $(_BuildConfig) /p:TestAssemblies=false /p:TestPackages=true
573
590
nameSuffix : Libraries_AllConfigurations
574
591
isOfficialBuild : ${{ variables.isOfficialBuild }}
@@ -588,7 +605,9 @@ extends:
588
605
platforms :
589
606
- SourceBuild_linux_x64
590
607
jobParameters :
608
+ templatePath : ' templates-official'
591
609
nameSuffix : PortableSourceBuild
610
+ isOfficialBuild : ${{ variables.isOfficialBuild }}
592
611
postBuildSteps :
593
612
- template : /eng/pipelines/common/upload-intermediate-artifacts-step.yml
594
613
parameters :
@@ -610,6 +629,7 @@ extends:
610
629
- windows_arm64
611
630
- linux_arm64
612
631
jobParameters :
632
+ templatePath : ' templates-official'
613
633
buildArgs : -s clr.native+clr.corelib+clr.tools+clr.nativecorelib+libs+host+packs -c $(_BuildConfig) -pgoinstrument /p:SkipLibrariesNativeRuntimePackages=true
614
634
isOfficialBuild : ${{ variables.isOfficialBuild }}
615
635
nameSuffix : PGO
@@ -629,6 +649,7 @@ extends:
629
649
platforms :
630
650
- windows_x64
631
651
jobParameters :
652
+ templatePath : ' templates-official'
632
653
isOfficialBuild : ${{ variables.isOfficialBuild }}
633
654
timeoutInMinutes : 120
634
655
dependsOn :
0 commit comments