- name: isNotExtraPlatformsBuild
value: ${{ ne(variables['Build.DefinitionName'], 'runtime-extra-platforms') }}
- name: isWasmOnlyBuild
- value: ${{ in(variables['Build.DefinitionName'], 'runtime-wasm', 'runtime-wasm-libtests', 'runtime-wasm-non-libtests') }}
+ value: ${{ in(variables['Build.DefinitionName'], 'runtime-wasm', 'runtime-wasm-libtests', 'runtime-wasm-non-libtests', 'runtime-wasm-dbgtests') }}
- name: isiOSLikeOnlyBuild
value: ${{ in(variables['Build.DefinitionName'], 'runtime-ioslike') }}
- name: isiOSLikeSimulatorOnlyBuild
isRollingBuild: false
excludeLibTests: false
excludeNonLibTests: false
+ debuggerTestsOnly: false
jobs:
# - run everything, if relevant paths changed
# - For runtime-wasm, force run all the jobs
#
-- ${{ if and(ne(parameters.isRollingBuild, true), ne(parameters.excludeLibTests, true)) }}:
+- ${{ if and(ne(parameters.isRollingBuild, true), ne(parameters.excludeLibTests, true), ne(parameters.debuggerTestsOnly, true)) }}:
# Library tests
# these run on runtime also
- template: /eng/pipelines/common/templates/wasm-library-tests.yml
isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}
alwaysRun: ${{ parameters.isWasmOnlyBuild }}
-- ${{ if and(ne(parameters.isRollingBuild, true), ne(parameters.excludeNonLibTests, true)) }}:
+- ${{ if and(ne(parameters.isRollingBuild, true), ne(parameters.excludeNonLibTests, true), ne(parameters.debuggerTestsOnly, true)) }}:
# Wasm.Build.Tests
- template: /eng/pipelines/common/templates/wasm-build-tests.yml
parameters:
isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}
isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}
- # Debugger tests
- - template: /eng/pipelines/common/templates/wasm-debugger-tests.yml
+ - template: /eng/pipelines/common/templates/wasm-runtime-tests.yml
parameters:
platforms:
- browser_wasm
- - browser_wasm_win
isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}
isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}
- - template: /eng/pipelines/common/templates/wasm-runtime-tests.yml
+- ${{ if and(ne(parameters.isRollingBuild, true), or(ne(parameters.excludeNonLibTests, true), eq(parameters.debuggerTestsOnly, true))) }}:
+ # Debugger tests
+ - template: /eng/pipelines/common/templates/wasm-debugger-tests.yml
parameters:
platforms:
- browser_wasm
+ - browser_wasm_win
isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}
isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}
trigger: none
+pr: none
variables:
- template: /eng/pipelines/common/variables.yml
-jobs:
-
-#
-# Evaluate paths
-#
-- template: /eng/pipelines/common/evaluate-default-paths.yml
-
-# Debugger tests
-- template: /eng/pipelines/common/templates/wasm-debugger-tests.yml
+extends:
+ template: /eng/pipelines/common/templates/pipeline-with-resources.yml
parameters:
- platforms:
- - Browser_wasm
- - Browser_wasm_win
- isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}
- isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}
+ stages:
+ - stage: Build
+ jobs:
-- template: /eng/pipelines/common/templates/wasm-debugger-tests.yml
- parameters:
- platforms:
- - Browser_wasm
- - Browser_wasm_win
- extraBuildArgs: /p:MonoWasmBuildVariant=multithread /p:WasmEnableThreads=true
- nameSuffix: DebuggerTests_MultiThreaded
- isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}
- isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}
+ #
+ # Evaluate paths
+ #
+ - template: /eng/pipelines/common/evaluate-default-paths.yml
-- template: /eng/pipelines/common/templates/wasm-debugger-tests.yml
- parameters:
- platforms:
- - Browser_wasm_firefox
- browser: firefox
- isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}
- isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}
- alwaysRun: ${{ parameters.isWasmOnlyBuild }}
- # ff tests are unstable currently
- shouldContinueOnError: true
+ - template: /eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml
+ parameters:
+ isExtraPlatformsBuild: ${{ variables.isExtraPlatformsBuild }}
+ isWasmOnlyBuild: ${{ variables.isWasmOnlyBuild }}
+ isRollingBuild: ${{ variables.isRollingBuild }}
+ debuggerTestsOnly: true
* `runtime-extra-platforms` does not run any wasm jobs on PRs
* `high resource aot` runs a few specific library tests with AOT, that require more memory to AOT.
+* `runtime-wasm-dbgtests` runs all the debugger test jobs
+
## Rolling build (twice a day):
* `runtime` runs all the wasm jobs, but `AOT` still only runs smoke tests.