未验证 提交 e130a89c 编写于 作者: A Ankit Jain 提交者: GitHub

[wasm] Move all the wasm jobs from runtime-staging to runtime (#73596)

* [wasm] Move stable jobs from runtime-staging to runtime

- library tests: windows
- AOT tests: windows
- Debugger tests (chrome): windows, and linux
- Wasm.Build.Tests: windows

* Move last remaining wasm-firefox tests to runtime too

* Move firefox debugger tests to runtime-extra-platforms

* Fix browser-eventpipe build

```
src/mono/sample/wasm/browser-eventpipe/Program.cs(80,13): error IDE0074: (NETCORE_ENGINEERING_TELEMETRY=Build) Use compound assignment
```
上级 0e13ffaa
......@@ -46,6 +46,17 @@ jobs:
runAOT: true
alwaysRun: true
# Wasm Debugger tests - firefox
- template: /eng/pipelines/common/templates/wasm-debugger-tests.yml
parameters:
platforms:
- Browser_wasm_firefox
browser: firefox
# ff tests are unstable currently
shouldContinueOnError: true
alwaysRun: true
# Disabled for now
#- template: /eng/pipelines/coreclr/perf-wasm-jobs.yml
#parameters:
......
......@@ -58,53 +58,6 @@ jobs:
- ${{ if eq(variables.dependOnEvaluatePaths, true) }}:
- template: /eng/pipelines/common/evaluate-default-paths.yml
#
# WebAssembly legs - library tests, Wasm.Build.Tests, and debugger tests
#
- template: /eng/pipelines/common/templates/wasm-library-tests.yml
parameters:
platforms:
- Browser_wasm_win
shouldContinueOnError: forceFalse
alwaysRun: ${{ variables.isRollingBuild }}
scenarios:
- WasmTestOnBrowser
# AOT Library tests
- template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml
parameters:
platforms:
- Browser_wasm_win
nameSuffix: _AOT
runSmokeOnlyArg: $(_runSmokeTestsOnlyArg)
runAOT: true
shouldContinueOnError: forceFalse
alwaysRun: ${{ variables.isRollingBuild }}
- template: /eng/pipelines/common/templates/wasm-build-tests.yml
parameters:
platforms:
- Browser_wasm_win
shouldContinueOnError: forceFalse
alwaysRun: ${{ variables.isRollingBuild }}
- template: /eng/pipelines/common/templates/wasm-debugger-tests.yml
parameters:
platforms:
- Browser_wasm
- Browser_wasm_win
shouldContinueOnError: forceFalse
alwaysRun: ${{ variables.isRollingBuild }}
- template: /eng/pipelines/common/templates/wasm-debugger-tests.yml
parameters:
platforms:
- Browser_wasm_firefox
browser: firefox
# ff tests are unstable currently
shouldContinueOnError: true
alwaysRun: ${{ variables.isRollingBuild }}
#
# Build the whole product using Mono
#
......
......@@ -366,6 +366,14 @@ jobs:
- normal
- WasmTestOnBrowser
- template: /eng/pipelines/common/templates/wasm-library-tests.yml
parameters:
platforms:
- Browser_wasm_win
alwaysRun: ${{ variables.isRollingBuild }}
scenarios:
- WasmTestOnBrowser
# EAT Library tests - only run on linux
- template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml
parameters:
......@@ -385,12 +393,32 @@ jobs:
runSmokeOnlyArg: $(_runSmokeTestsOnlyArg)
alwaysRun: ${{ variables.isRollingBuild }}
- template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml
parameters:
platforms:
- Browser_wasm_win
nameSuffix: _AOT
runAOT: true
runSmokeOnlyArg: $(_runSmokeTestsOnlyArg)
alwaysRun: ${{ variables.isRollingBuild }}
# Wasm.Build.Tests
- template: /eng/pipelines/common/templates/wasm-build-tests.yml
parameters:
platforms:
- Browser_wasm
- Browser_wasm_win
alwaysRun: ${{ variables.isRollingBuild }}
# Wasm Debugger tests
- template: /eng/pipelines/common/templates/wasm-debugger-tests.yml
parameters:
platforms:
- Browser_wasm
- Browser_wasm_win
alwaysRun: ${{ variables.isRollingBuild }}
# Wasm runtime tests
- template: /eng/pipelines/common/templates/wasm-runtime-tests.yml
parameters:
platforms:
......
......@@ -77,9 +77,7 @@ public static void Main(string[] args)
public static CancellationToken GetCancellationToken()
{
if (cts == null) {
cts = new CancellationTokenSource ();
}
cts ??= new CancellationTokenSource ();
return cts.Token;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册