@@ -25,20 +25,14 @@ parameters:
25
25
useContinueOnErrorDuringBuild : false
26
26
shouldContinueOnError : false
27
27
isOfficialBuild : false
28
- isSourceBuild : false
29
- isNonPortableSourceBuild : false
30
28
runtimeFlavor : ' coreclr'
31
29
runtimeVariant : ' '
32
30
helixQueues : ' '
33
31
enablePublishTestResults : false
34
32
testResultsFormat : ' '
35
33
postBuildSteps : []
36
34
extraVariablesTemplates : []
37
- isManualCodeQLBuild : false
38
35
preBuildSteps : []
39
- enableRichCodeNavigation : false
40
- richCodeNavigationLanguage : ' csharp'
41
- disableComponentGovernance : ' '
42
36
templatePath : ' templates'
43
37
44
38
jobs :
57
51
enablePublishTestResults : ${{ parameters.enablePublishTestResults }}
58
52
testResultsFormat : ${{ parameters.testResultsFormat }}
59
53
60
- enableRichCodeNavigation : ${{ parameters.enableRichCodeNavigation }}
61
- richCodeNavigationLanguage : ${{ parameters.richCodeNavigationLanguage }}
62
-
63
54
artifacts :
64
55
publish :
65
56
logs :
@@ -154,10 +145,7 @@ jobs:
154
145
155
146
- checkout : self
156
147
clean : true
157
- # If running in source build mode, a git stash will be used for the inner clone. Avoid setting a fetch depth,
158
- # as a stash of a shallow cloned repo is not currently supported.
159
- ${{ if ne(parameters.isSourceBuild, true) }} :
160
- fetchDepth : $(checkoutFetchDepth)
148
+ fetchDepth : $(checkoutFetchDepth)
161
149
162
150
- ${{ if and(eq(parameters.isOfficialBuild, true), notin(parameters.osGroup, 'osx', 'maccatalyst', 'ios', 'iossimulator', 'tvos', 'tvossimulator')) }} :
163
151
- template : /eng/pipelines/common/restore-internal-tools.yml
@@ -187,16 +175,6 @@ jobs:
187
175
artifact : Mono_Offsets_${{monoCrossAOTTargetOS}}
188
176
path : ' $(Build.SourcesDirectory)/artifacts/obj/mono/offsetfiles'
189
177
190
- - ${{ if eq(parameters.isSourceBuild, true) }} :
191
- - template : /eng/common/${{ parameters.templatePath }}/steps/source-build.yml
192
- parameters :
193
- platform :
194
- baseOS : ${{ parameters.baseOS }}
195
- buildScript : $(Build.SourcesDirectory)$(dir)build$(scriptExt)
196
- nonPortable : ${{ parameters.isNonPortableSourceBuild }}
197
- targetRID : ${{ parameters.targetRid }}
198
- name : ${{ parameters.platform }}
199
-
200
178
- ${{ if in(parameters.osGroup, 'osx', 'maccatalyst', 'ios', 'iossimulator', 'tvos', 'tvossimulator') }} :
201
179
- script : $(Build.SourcesDirectory)/eng/install-native-dependencies.sh ${{ parameters.osGroup }}
202
180
displayName : Install Build Dependencies
@@ -228,7 +206,6 @@ jobs:
228
206
targetRid : ${{ parameters.targetRid }}
229
207
nameSuffix : ${{ parameters.nameSuffix }}
230
208
platform : ${{ parameters.platform }}
231
- pgoType : ${{ parameters.pgoType }}
232
209
shouldContinueOnError : ${{ parameters.shouldContinueOnError }}
233
210
${{ if ne(preBuildStep.forwardedParameters, '') }} :
234
211
${{ each parameter in preBuildStep.forwardedParameters }} :
@@ -239,21 +216,11 @@ jobs:
239
216
- ${{ preBuildStep }}
240
217
241
218
# Build
242
- - ${{ if eq(parameters.isSourceBuild, false) }} :
243
- - ${{ if eq(parameters.isManualCodeQLBuild, true) }} :
244
- - task : CodeQL3000Init@0
245
- displayName : Initialize CodeQL (manually-injected)
246
-
247
- - template : /eng/pipelines/common/templates/global-build-step.yml
248
- parameters :
249
- buildArgs : ${{ parameters.buildArgs }}
250
- useContinueOnErrorDuringBuild : ${{ parameters.useContinueOnErrorDuringBuild }}
251
- shouldContinueOnError : ${{ parameters.shouldContinueOnError }}
252
-
253
- - ${{ if eq(parameters.isManualCodeQLBuild, true) }} :
254
- - task : CodeQL3000Finalize@0
255
- displayName : Finalize CodeQL (manually-injected)
256
- # endif isSourceBuild
219
+ - template : /eng/pipelines/common/templates/global-build-step.yml
220
+ parameters :
221
+ buildArgs : ${{ parameters.buildArgs }}
222
+ useContinueOnErrorDuringBuild : ${{ parameters.useContinueOnErrorDuringBuild }}
223
+ shouldContinueOnError : ${{ parameters.shouldContinueOnError }}
257
224
258
225
- ${{ if in(parameters.osGroup, 'osx', 'ios', 'tvos', 'android') }} :
259
226
- script : |
0 commit comments