1+ variables :
2+ - name : _PublishUsingPipelines
3+ value : false
4+ - template : /eng/common/templates-official/variables/pool-providers.yml@self
5+
16trigger :
27 batch : true
38 branches :
49 include :
5- - main
6-
7- variables :
8- - template : /eng/common/templates-official/variables/pool-providers.yml@self
9- - name : TeamName
10- value : Roslyn
10+ - main
11+ - release/*
1112
12- schedules :
13- - cron : " 0 8 22-28 * 0" # Fourth Sunday of each month at 8:00 UTC
14- displayName : " Monthly build check"
15- branches :
16- include :
17- - main
18- - release/*
19- always : true # Run even if there have been no source code changes since the last successful scheduled run
20- batch : false # Do not run the pipeline if the previously scheduled run is in-progress
13+ pr : none
2114
2215resources :
2316 repositories :
24- - repository : MicroBuildTemplate
17+ - repository : 1ESPipelineTemplates
2518 type : git
26- name : 1ESPipelineTemplates/MicroBuildTemplate
19+ name : 1ESPipelineTemplates/1ESPipelineTemplates
2720 ref : refs/tags/release
2821extends :
29- template : azure-pipelines/MicroBuild. 1ES.Official.yml@MicroBuildTemplate
22+ template : v1/ 1ES.Official.PipelineTemplate. yml@1ESPipelineTemplates
3023 parameters :
3124 sdl :
25+ createAdoIssuesForJustificationsForDisablement : false
3226 sourceAnalysisPool :
3327 name : $(DncEngInternalBuildPool)
3428 image : 1es-windows-2022
3529 os : windows
36- policheck :
37- enabled : true
38- binskim :
39- enabled : true
40- tsa :
41- enabled : true
42- configFile : ' $(Build.SourcesDirectory)/eng/tsaconfig.gdntsa'
43- pool :
44- name : AzurePipelines-EO
45- image : AzurePipelinesWindows2022compliantGPT
46- os : windows
47- customBuildTags :
48- - ES365AIMigrationTooling
4930 stages :
5031 - stage : build
5132 displayName : Build
5233 jobs :
5334 - template : /eng/common/templates-official/jobs/jobs.yml@self
5435 parameters :
55- enableMicrobuild : true
5636 enablePublishBuildArtifacts : true
57- enablePublishTestResults : true
58- enablePublishBuildAssets : true
59- enablePublishUsingPipelines : true
60- enableTelemetry : true
61- enableSourceBuild : true
62- helixRepo : dotnet/symreader
63- jobs :
64- - job : Windows
65- pool :
66- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }} :
67- vmImage : ' windows-latest'
68- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
69- name : $(DncEngInternalBuildPool)
70- demands : ImageOverride -equals 1es-windows-2022
71- variables :
72- # Only enable publishing in official builds
73- - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
74- # Publish-Build-Assets provides: MaestroAccessToken, BotAccount-dotnet-maestro-bot-PAT
75- - group : Publish-Build-Assets
76- - name : _OfficialBuildArgs
77- value : /p:DotNetSignType=$(_SignType)
78- /p:TeamName=$(TeamName)
79- /p:DotNetPublishUsingPipelines=true
80- /p:OfficialBuildId=$(BUILD.BUILDNUMBER)
81- # else
82- - ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }} :
83- - name : _OfficialBuildArgs
84- value : ' '
85- strategy :
86- matrix :
87- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }} :
88- Debug :
89- _BuildConfig : Debug
90- _SignType : test
91- _BuildArgs : ' '
92- Release :
93- _BuildConfig : Release
94- # PRs or external builds are not signed.
95- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }} :
96- _SignType : test
97- _BuildArgs : ' '
98- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
99- _SignType : real
100- _BuildArgs : $(_OfficialBuildArgs)
101- steps :
102- - checkout : self
103- clean : true
104- - script : eng\common\cibuild.cmd -configuration $(_BuildConfig) -prepareMachine $(_BuildArgs)
105- displayName : Build and Test
106-
107- - ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }} :
108- - job : MacOS
109- displayName : ' MacOS'
110- pool :
111- vmImage : ' macOS-latest'
112- strategy :
113- matrix :
114- Debug :
115- _BuildConfig : Debug
116- _SignType : none
117- Release :
118- _BuildConfig : Release
119- _SignType : none
120- steps :
121- - checkout : self
122- clean : true
123- - script : eng/common/cibuild.sh --configuration $(_BuildConfig) --prepareMachine
124- displayName : Build and Test
125-
126- - job : Linux
127- displayName : ' Linux'
128- pool :
129- vmImage : ' ubuntu-latest'
130- strategy :
131- matrix :
132- Debug :
133- _BuildConfig : Debug
134- _SignType : none
135- Release :
136- _BuildConfig : Release
137- _SignType : none
138- steps :
139- - checkout : self
140- clean : true
141- - script : eng/common/cibuild.sh --configuration $(_BuildConfig) --prepareMachine
142- displayName : Build and Test
143- - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
144- - template : /eng/common/templates-official/post-build/post-build.yml@self
145- parameters :
146- publishingInfraVersion : 3
147- enableSymbolValidation : false
37+ enablePublishBuildAssets : false
38+ enablePublishTestResults : false
39+ publishAssetsImmediately : true
40+ isAssetlessBuild : true
41+ enableTelemetry : true
0 commit comments