Skip to content

Commit 3c97a90

Browse files
authored
[browser][MT] move wasm MT CI legs to extra-platforms (#112690)
1 parent 995b6de commit 3c97a90

File tree

3 files changed

+17
-27
lines changed

3 files changed

+17
-27
lines changed

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

+16-1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,22 @@ jobs:
7474
scenarios:
7575
- WasmTestOnChrome
7676

77+
# Library tests with full threading
78+
- template: /eng/pipelines/common/templates/wasm-library-tests.yml
79+
parameters:
80+
platforms:
81+
- browser_wasm
82+
#- browser_wasm_win
83+
nameSuffix: _Threading
84+
extraBuildArgs: /p:WasmEnableThreads=true /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)
85+
extraHelixArguments: /p:WasmEnableThreads=true
86+
isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}
87+
isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}
88+
alwaysRun: ${{ parameters.isWasmOnlyBuild }}
89+
shouldRunSmokeOnly: onLibrariesAndIllinkChanges
90+
scenarios:
91+
- WasmTestOnChrome
92+
7793
# EAT Library tests - only run on linux
7894
- template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml
7995
parameters:
@@ -162,7 +178,6 @@ jobs:
162178
- browser_wasm_win
163179
nameSuffix: MultiThreaded
164180
extraBuildArgs: /p:WasmEnableThreads=true /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)
165-
condition: ne(variables['wasmMultiThreadedBuildOnlyNeededOnDefaultPipeline'], true)
166181
publishArtifactsForWorkload: true
167182
publishWBT: false
168183

eng/pipelines/runtime.yml

-25
Original file line numberDiff line numberDiff line change
@@ -822,20 +822,6 @@ extends:
822822
scenarios:
823823
- WasmTestOnChrome
824824

825-
# Library tests with full threading
826-
- template: /eng/pipelines/common/templates/wasm-library-tests.yml
827-
parameters:
828-
platforms:
829-
- browser_wasm
830-
#- browser_wasm_win
831-
nameSuffix: _Threading
832-
extraBuildArgs: /p:WasmEnableThreads=true /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)
833-
extraHelixArguments: /p:WasmEnableThreads=true
834-
alwaysRun: ${{ variables.isRollingBuild }}
835-
shouldRunSmokeOnly: onLibrariesAndIllinkChanges
836-
scenarios:
837-
- WasmTestOnChrome
838-
839825
# EAT Library tests - only run on linux
840826
- template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml
841827
parameters:
@@ -871,17 +857,6 @@ extends:
871857
publishArtifactsForWorkload: true
872858
publishWBT: true
873859

874-
- template: /eng/pipelines/common/templates/wasm-build-only.yml
875-
parameters:
876-
platforms:
877-
- browser_wasm
878-
- browser_wasm_win
879-
condition: or(eq(variables.isRollingBuild, true), eq(variables.wasmSingleThreadedBuildOnlyNeededOnDefaultPipeline, true))
880-
nameSuffix: MultiThreaded
881-
extraBuildArgs: /p:WasmEnableThreads=true /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)
882-
publishArtifactsForWorkload: true
883-
publishWBT: false
884-
885860
# Browser Wasm.Build.Tests
886861
- template: /eng/pipelines/common/templates/browser-wasm-build-tests.yml
887862
parameters:

src/mono/wasm/features.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Some of these properties require a unique build of the runtime, which means that
2323

2424
### Multi-threading
2525

26-
Multi-threading support is enabled by `<WasmEnableThreads>true</WasmEnableThreads>`, and is currently disabled by default. It requires a unique build of the runtime.
26+
Multi-threading experiment is enabled by `<WasmEnableThreads>true</WasmEnableThreads>`, and is currently disabled by default. It requires a unique build of the runtime.
2727

2828
Your HTTPS server and/or proxy must be configured to send HTTP headers similar to `Cross-Origin-Embedder-Policy:require-corp` and `Cross-Origin-Opener-Policy:same-origin` in order to enable multi-threading support in end-user web browsers for security reasons.
2929

0 commit comments

Comments
 (0)