Skip to content

Commit 078eb57

Browse files
authored
[wasm] Some cleanup of wasm jobs in runtime-extra-platforms (#64766)
* [wasm] Remove WBT from extra-platforms, as it runs in runtime, and runtime-staging * [wasm] Run library tests on NodeJS for windows too .. in `runtime-extra-platforms`. * [wasm] runtime-extra-platforms: always run the helix step
1 parent 02ac5c3 commit 078eb57

File tree

1 file changed

+8
-99
lines changed

1 file changed

+8
-99
lines changed

eng/pipelines/runtime-extra-platforms.yml

Lines changed: 8 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -118,89 +118,6 @@ jobs:
118118
119119
#### MONO LEGS
120120

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-
204121
#
205122
# Build for Browser/wasm, with EnableAggressiveTrimming=true
206123
#
@@ -238,11 +155,6 @@ jobs:
238155
extraHelixArguments: /p:NeedsToBuildWasmAppsOnHelix=true $(_runSmokeTestsOnlyArg)
239156
scenarios:
240157
- normal
241-
condition: >-
242-
or(
243-
eq(variables['librariesContainsChange'], true),
244-
eq(variables['monoContainsChange'], true),
245-
eq(variables['isRollingBuild'], true))
246158

247159
#
248160
# Build for Browser/wasm with RunAOTCompilation=true
@@ -282,11 +194,6 @@ jobs:
282194
extraHelixArguments: /p:NeedsToBuildWasmAppsOnHelix=true $(_runSmokeTestsOnlyArg) /p:BrowserHost=$(_hostedOs)
283195
scenarios:
284196
- normal
285-
condition: >-
286-
or(
287-
eq(variables['librariesContainsChange'], true),
288-
eq(variables['monoContainsChange'], true),
289-
eq(variables['isRollingBuild'], true))
290197

291198
#
292199
# Build the whole product using Mono and run libraries tests
@@ -415,32 +322,34 @@ jobs:
415322
runtimeFlavor: mono
416323
platforms:
417324
- Browser_wasm
325+
- Browser_wasm_win
418326
variables:
419327
# map dependencies variables to local variables
328+
- name: librariesContainsChange
329+
value: $[ dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ]
420330
- name: monoContainsChange
421331
value: $[ dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'] ]
422332
jobParameters:
423333
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)
426336
timeoutInMinutes: 180
427337
condition: >-
428338
or(
339+
eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true),
429340
eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true),
341+
eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true),
430342
eq(variables['isRollingBuild'], true))
431343
# extra steps, run tests
432344
extraStepsTemplate: /eng/pipelines/libraries/helix.yml
433345
extraStepsParameters:
434346
creator: dotnet-bot
435347
testRunNamePrefixSuffix: Mono_$(_BuildConfig)
348+
extraHelixArguments: /p:BrowserHost=$(_hostedOs)
436349
scenarios:
437350
- normal
438351
- WasmTestOnBrowser
439352
- WasmTestOnNodeJs
440-
condition: >-
441-
or(
442-
eq(variables['monoContainsChange'], true),
443-
eq(variables['isRollingBuild'], true))
444353

445354
#
446355
# Build the whole product using Mono and run runtime tests

0 commit comments

Comments
 (0)