@@ -3,144 +3,23 @@ parameters:
33
44jobs :
55 # build coreclr and libraries
6- - template : /eng/pipelines/common/platform-matrix .yml
6+ - template : /eng/pipelines/performance/templates/perf-coreclr-build-jobs .yml
77 parameters :
8- jobTemplate : /eng/pipelines/common/global-build-job.yml
9- buildConfig : release
10- platforms :
11- - linux_x64
12- - windows_x64
13- - windows_x86
14- - linux_musl_x64
15- jobParameters :
16- nameSuffix : coreclr
17- buildArgs : -s clr+libs+host+packs -c $(_BuildConfig)
18- isOfficialBuild : false
19- postBuildSteps :
20- - template : /eng/pipelines/common/upload-artifact-step.yml
21- parameters :
22- rootFolder : $(Build.SourcesDirectory)/artifacts/bin
23- includeRootFolder : false
24- archiveType : $(archiveType)
25- archiveExtension : $(archiveExtension)
26- tarCompression : $(tarCompression)
27- artifactName : BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig)_coreclr
28- displayName : Build Assets
29-
8+ linux_x64 : true
9+ windows_x64 : true
10+ windows_x86 : true
11+ linux_musl_x64 : true
12+
3013 # build mono for AOT
31- - template : /eng/pipelines/common/platform-matrix.yml
32- parameters :
33- jobTemplate : /eng/pipelines/common/global-build-job.yml
34- buildConfig : release
35- runtimeFlavor : mono
36- platforms :
37- - linux_x64
38- jobParameters :
39- buildArgs : -s mono+libs+host+packs -c $(_BuildConfig) /p:MonoAOTEnableLLVM=true /p:MonoEnableLLVM=true /p:BuildMonoAOTCrossCompiler=true /p:AotHostArchitecture=x64 /p:AotHostOS=linux
40- nameSuffix : AOT
41- isOfficialBuild : false
42- postBuildSteps :
43- - template : /eng/pipelines/common/upload-artifact-step.yml
44- parameters :
45- rootFolder : ' $(Build.SourcesDirectory)/artifacts/'
46- includeRootFolder : true
47- displayName : AOT Mono Artifacts
48- artifactName : LinuxMonoAOTx64
49- archiveExtension : ' .tar.gz'
50- archiveType : tar
51- tarCompression : gz
52-
53- # build mono Android scenarios
54- - template : /eng/pipelines/common/platform-matrix.yml
55- parameters :
56- jobTemplate : /eng/pipelines/common/global-build-job.yml
57- buildConfig : release
58- runtimeFlavor : mono
59- platforms :
60- - android_arm64
61- jobParameters :
62- buildArgs : -s mono+libs+host+packs -c $(_BuildConfig)
63- nameSuffix : AndroidMono
64- isOfficialBuild : false
65- postBuildSteps :
66- - template : /eng/pipelines/performance/templates/build-perf-sample-apps.yml
67- parameters :
68- rootFolder : ' $(Build.SourcesDirectory)/artifacts/'
69- includeRootFolder : true
70- displayName : Android Mono Artifacts
71- artifactName : AndroidMonoarm64
72- archiveExtension : ' .tar.gz'
73- archiveType : tar
74- tarCompression : gz
75-
76- # build mono
77- - template : /eng/pipelines/common/platform-matrix.yml
14+ - template : /eng/pipelines/performance/templates/perf-mono-build-jobs.yml
7815 parameters :
79- jobTemplate : /eng/pipelines/common/global-build-job.yml
80- buildConfig : release
81- runtimeFlavor : mono
82- platforms :
83- - linux_x64
84- jobParameters :
85- nameSuffix : mono
86- buildArgs : -s mono+clr.iltools+clr.hosts+libs+host+packs -c $(_BuildConfig)
87- isOfficialBuild : false
88- postBuildSteps :
89- - template : /eng/pipelines/common/upload-artifact-step.yml
90- parameters :
91- rootFolder : $(Build.SourcesDirectory)/artifacts/bin
92- includeRootFolder : false
93- archiveType : $(archiveType)
94- archiveExtension : $(archiveExtension)
95- tarCompression : $(tarCompression)
96- artifactName : BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig)_mono
97- displayName : Build Assets
98-
99- # build mono runtime packs
16+ mono_x64 : true
17+ monoAot_x64 : true
18+ monoAndroid : true
19+
10020 # Disabled due to not successfully building at the moment. https://github.com/dotnet/performance/issues/4729
10121 - ${{ if false }} :
102- - template : /eng/pipelines/common/platform-matrix.yml
103- parameters :
104- jobTemplate : /eng/pipelines/common/global-build-job.yml
105- buildConfig : release
106- runtimeFlavor : mono
107- platforms :
108- - android_arm64
109- jobParameters :
110- buildArgs : -s mono+libs+host+packs -c $(_BuildConfig)
111- nameSuffix : Mono_Packs
112- isOfficialBuild : false
113- postBuildSteps :
114- - template : /eng/pipelines/common/upload-intermediate-artifacts-step.yml
115- parameters :
116- name : MonoRuntimePacks
117- isOfficialBuild : false
118-
119- # Disabled with the above job
12022 # build PerfBDN app
121- - template : /eng/pipelines/common/platform-matrix .yml
23+ - template : /eng/pipelines/performance/templates/perf-bdn-build-jobs .yml
12224 parameters :
123- jobTemplate : /eng/pipelines/common/global-build-job.yml
124- buildConfig : release
125- runtimeFlavor : mono
126- platforms :
127- - ios_arm64
128- jobParameters :
129- dependsOn :
130- - Build_android_arm64_release_Mono_Packs
131- buildArgs : -s mono -c $(_BuildConfig)
132- nameSuffix : PerfBDNApp
133- isOfficialBuild : false
134- pool :
135- vmImage : ' macos-13'
136- postBuildSteps :
137- - template : /eng/pipelines/performance/templates/build-perf-bdn-app.yml
138- parameters :
139- rootFolder : ' $(Build.SourcesDirectory)/artifacts/'
140- includeRootFolder : true
141- displayName : Android BDN App Artifacts
142- artifactName : PerfBDNAppArm
143- archiveExtension : ' .tar.gz'
144- archiveType : tar
145- tarCompression : gz
146- perfBranch : ${{ parameters.perfBranch }}
25+ perfBranch : ${{ parameters.perfBranch }}
0 commit comments