@@ -118,89 +118,6 @@ jobs:
118
118
119
119
# ### MONO LEGS
120
120
121
- #
122
- # Build the whole product using Mono and run libraries tests, for Wasm.Build.Tests
123
- #
124
- - template : /eng/pipelines/common/platform-matrix.yml
125
- parameters :
126
- jobTemplate : /eng/pipelines/common/global-build-job.yml
127
- helixQueuesTemplate : /eng/pipelines/libraries/helix-queues-setup.yml
128
- buildConfig : Release
129
- runtimeFlavor : mono
130
- platforms :
131
- # BuildWasmApps should only happen on the extra platforms build as we already have coverage for this build on PRs.
132
- - Browser_wasm
133
- - Browser_wasm_win
134
- variables :
135
- # map dependencies variables to local variables
136
- - name : wasmbuildtestsContainsChange
137
- value : $[ dependencies.evaluate_paths.outputs['SetPathVars_wasmbuildtests.containsChange'] ]
138
- jobParameters :
139
- isExtraPlatforms : ${{ variables.isExtraPlatformsBuild }}
140
- testGroup : innerloop
141
- nameSuffix : WasmBuildTests
142
- buildArgs : -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true /p:TestWasmBuildTests=true /p:TestAssemblies=false /p:BrowserHost=$(_hostedOs)
143
- timeoutInMinutes : 180
144
- condition : >-
145
- or(
146
- eq(dependencies.evaluate_paths.outputs['SetPathVars_wasmbuildtests.containsChange'], true),
147
- eq(variables['isRollingBuild'], true))
148
- # extra steps, run tests
149
- extraStepsTemplate : /eng/pipelines/libraries/helix.yml
150
- extraStepsParameters :
151
- creator : dotnet-bot
152
- testRunNamePrefixSuffix : Mono_$(_BuildConfig)_$(_hostedOs)
153
- extraHelixArguments : /p:BrowserHost=$(_hostedOs)
154
- scenarios :
155
- - buildwasmapps
156
- condition : >-
157
- or(
158
- eq(variables['wasmbuildtestsContainsChange'], true),
159
- eq(variables['isRollingBuild'], true))
160
-
161
- #
162
- # Build Browser_wasm, on windows, run console and browser tests
163
- #
164
- - template : /eng/pipelines/common/platform-matrix.yml
165
- parameters :
166
- jobTemplate : /eng/pipelines/common/global-build-job.yml
167
- helixQueuesTemplate : /eng/pipelines/libraries/helix-queues-setup.yml
168
- buildConfig : release
169
- runtimeFlavor : mono
170
- platforms :
171
- - Browser_wasm_win
172
- variables :
173
- # map dependencies variables to local variables
174
- - name : librariesContainsChange
175
- value : $[ dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ]
176
- - name : monoContainsChange
177
- value : $[ dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'] ]
178
- jobParameters :
179
- testGroup : innerloop
180
- nameSuffix : LibraryTests
181
- buildArgs : -subset mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true /p:BrowserHost=windows
182
- timeoutInMinutes : 180
183
- condition : >-
184
- or(
185
- eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true),
186
- eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true),
187
- eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true),
188
- eq(variables['isRollingBuild'], true))
189
- # extra steps, run tests
190
- extraStepsTemplate : /eng/pipelines/libraries/helix.yml
191
- extraStepsParameters :
192
- creator : dotnet-bot
193
- testRunNamePrefixSuffix : Windows_wasm_$(_BuildConfig)
194
- extraHelixArguments : /p:BrowserHost=windows
195
- scenarios :
196
- - normal
197
- - wasmtestonbrowser
198
- condition : >-
199
- or(
200
- eq(variables['librariesContainsChange'], true),
201
- eq(variables['monoContainsChange'], true),
202
- eq(variables['isRollingBuild'], true))
203
-
204
121
#
205
122
# Build for Browser/wasm, with EnableAggressiveTrimming=true
206
123
#
@@ -238,11 +155,6 @@ jobs:
238
155
extraHelixArguments : /p:NeedsToBuildWasmAppsOnHelix=true $(_runSmokeTestsOnlyArg)
239
156
scenarios :
240
157
- normal
241
- condition : >-
242
- or(
243
- eq(variables['librariesContainsChange'], true),
244
- eq(variables['monoContainsChange'], true),
245
- eq(variables['isRollingBuild'], true))
246
158
247
159
#
248
160
# Build for Browser/wasm with RunAOTCompilation=true
@@ -282,11 +194,6 @@ jobs:
282
194
extraHelixArguments : /p:NeedsToBuildWasmAppsOnHelix=true $(_runSmokeTestsOnlyArg) /p:BrowserHost=$(_hostedOs)
283
195
scenarios :
284
196
- normal
285
- condition : >-
286
- or(
287
- eq(variables['librariesContainsChange'], true),
288
- eq(variables['monoContainsChange'], true),
289
- eq(variables['isRollingBuild'], true))
290
197
291
198
#
292
199
# Build the whole product using Mono and run libraries tests
@@ -415,32 +322,34 @@ jobs:
415
322
runtimeFlavor : mono
416
323
platforms :
417
324
- Browser_wasm
325
+ - Browser_wasm_win
418
326
variables :
419
327
# map dependencies variables to local variables
328
+ - name : librariesContainsChange
329
+ value : $[ dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ]
420
330
- name : monoContainsChange
421
331
value : $[ dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'] ]
422
332
jobParameters :
423
333
testGroup : innerloop
424
- nameSuffix : AllSubsets_Mono
425
- buildArgs : -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true
334
+ nameSuffix : LibraryTests
335
+ buildArgs : -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true /p:BrowserHost=$(_hostedOs)
426
336
timeoutInMinutes : 180
427
337
condition : >-
428
338
or(
339
+ eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true),
429
340
eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true),
341
+ eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true),
430
342
eq(variables['isRollingBuild'], true))
431
343
# extra steps, run tests
432
344
extraStepsTemplate : /eng/pipelines/libraries/helix.yml
433
345
extraStepsParameters :
434
346
creator : dotnet-bot
435
347
testRunNamePrefixSuffix : Mono_$(_BuildConfig)
348
+ extraHelixArguments : /p:BrowserHost=$(_hostedOs)
436
349
scenarios :
437
350
- normal
438
351
- WasmTestOnBrowser
439
352
- WasmTestOnNodeJs
440
- condition : >-
441
- or(
442
- eq(variables['monoContainsChange'], true),
443
- eq(variables['isRollingBuild'], true))
444
353
445
354
#
446
355
# Build the whole product using Mono and run runtime tests
0 commit comments