Skip to content

Commit 765e3db

Browse files
authored
evaluate-default-paths.yml: Add paths for wasi (#81817)
* evaluate-default-paths.yml: Add paths for wasi .. and exclude wasm specific paths from coreclr. * disable runtime-wasm-optional automatic trigger for PRs * CI: skip debugger tests on runtime-wasm if they run on runtime pipeline .. too. * fix condition * address review feedback from @kg * Fix yml issue Using `Was?Runner*` failed to validate on azdo with: `/eng/pipelines/common/evaluate-default-paths.yml (Line: 10, Col: 24): While parsing a flow sequence, did not find expected ',' or ']'.` * fix syntax error in yml
1 parent 232fbce commit 765e3db

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

eng/pipelines/common/evaluate-default-paths.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@ parameters:
77
_const_paths:
88
_wasm_specific_only: [
99
eng/testing/ProvisioningVersions.props
10+
eng/testing/WasmRunner*
11+
eng/testing/WasiRunner*
1012
eng/testing/scenarios/BuildWasmAppsJobsList.txt
11-
eng/testing/tests.wasm.targets
13+
eng/testing/tests.browser.targets
14+
eng/testing/tests.was*.targets
15+
eng/testing/was*provisioning.targets
1216
src/libraries/sendtohelix-wasm.targets
17+
src/libraries/sendtohelix-wasi.targets
1318
src/mono/mono/**/*wasm*
1419
src/mono/nuget/Microsoft.NET.Runtime.WebAssembly.Sdk/*
1520
src/mono/nuget/Microsoft.NET.Runtime.wasm.Sample.Mono/*
@@ -70,6 +75,7 @@ jobs:
7075
- eng/pipelines/installer/*
7176
- eng/pipelines/mono/*
7277
- eng/pipelines/libraries/*
78+
- ${{ parameters._const_paths._wasm_specific_only }}
7379
- ${{ parameters._const_paths._wasm_pipelines }}
7480
- ${{ parameters._const_paths._always_exclude }}
7581

eng/pipelines/common/templates/wasm-debugger-tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ parameters:
44
isWasmOnlyBuild: false
55
browser: 'chrome'
66
shouldContinueOnError: false
7+
runOnlyOnWasmOnlyPipelines: false
78
extraBuildArgs: ''
89
nameSuffix: ''
910
platforms: []
@@ -23,6 +24,8 @@ jobs:
2324
# map dependencies variables to local variables
2425
- name: alwaysRunVar
2526
value: ${{ parameters.alwaysRun }}
27+
- name: runOnlyOnWasmPipelinesVar
28+
value: ${{ parameters.runOnlyOnWasmOnlyPipelines }}
2629
- name: shouldRunOnDefaultPipelines
2730
value: $[
2831
or(
@@ -47,7 +50,9 @@ jobs:
4750
condition: >-
4851
or(
4952
eq(variables['alwaysRunVar'], true),
50-
eq(variables['isDefaultPipeline'], variables['shouldRunOnDefaultPipelines']))
53+
and(
54+
eq(variables['isDefaultPipeline'], variables['shouldRunOnDefaultPipelines']),
55+
ne(variables['runOnlyOnWasmPipelinesVar'], 'true')))
5156
extraStepsTemplate: /eng/pipelines/libraries/helix.yml
5257
extraStepsParameters:
5358
creator: dotnet-bot

eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ jobs:
241241
alwaysRun: ${{ parameters.isWasmOnlyBuild }}
242242
isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}
243243
isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}
244+
runOnlyOnWasmOnlyPipelines: true
244245

245246
# Disable for now
246247
#- template: /eng/pipelines/coreclr/perf-wasm-jobs.yml

eng/pipelines/runtime-wasm-optional.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
# This is a wrapper yml for `extra-platforms/runtime-extra-platforms-wasm.yml`, which
2-
# has all the wasm jobs. This file is essentially so we can have point
3-
# the pipeline in azdo UI to this, and thus avoid any scheduled triggers
4-
51
trigger: none
2+
pr: none
63

74
variables:
85
- template: /eng/pipelines/common/variables.yml

0 commit comments

Comments
 (0)