diff --git a/eng/pipelines/common/templates/wasm-library-aot-tests.yml b/eng/pipelines/common/templates/wasm-library-aot-tests.yml index 2336f98401515a..2bf45172a9277b 100644 --- a/eng/pipelines/common/templates/wasm-library-aot-tests.yml +++ b/eng/pipelines/common/templates/wasm-library-aot-tests.yml @@ -10,6 +10,7 @@ parameters: runAOT: false shouldRunSmokeOnly: false shouldContinueOnError: false + scenarios: [] jobs: @@ -31,9 +32,12 @@ jobs: shouldRunSmokeOnly: ${{ parameters.shouldRunSmokeOnly }} shouldContinueOnError: ${{ parameters.shouldContinueOnError }} scenarios: - - ${{ if eq(platform, 'browser_wasm') }}: - - WasmTestOnV8 - - ${{ if eq(platform, 'browser_wasm_win') }}: - - WasmTestOnChrome - - ${{ if or(eq(platform, 'wasi_wasm_win'), eq(platform, 'wasi_wasm')) }}: - - WasmTestOnWasmtime + - ${{ if ne(parameters.scenarios[0], '') }}: + - ${{ parameters.scenarios }} + - ${{ else }}: + - ${{ if eq(platform, 'browser_wasm') }}: + - WasmTestOnV8 + - ${{ if eq(platform, 'browser_wasm_win') }}: + - WasmTestOnChrome + - ${{ if or(eq(platform, 'wasi_wasm_win'), eq(platform, 'wasi_wasm')) }}: + - WasmTestOnWasmtime diff --git a/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml b/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml index a5c6cb414227d8..f5f51cd1fd244b 100644 --- a/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml +++ b/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml @@ -201,21 +201,22 @@ jobs: - WasmTestOnFirefox - WasmTestOnNodeJS - # Hybrid Globalization AOT tests - - template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml - parameters: - platforms: - - browser_wasm - - browser_wasm_win - nameSuffix: _HybridGlobalization_AOT - extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) /p:HybridGlobalization=true - runAOT: true - isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }} - isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }} - alwaysRun: true - scenarios: - - WasmTestOnChrome - - WasmTestOnNodeJS + # # Hybrid Globalization AOT tests + # # ActiveIssue: https://github.com/dotnet/runtime/issues/51746 + # - template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml + # parameters: + # platforms: + # - browser_wasm + # - browser_wasm_win + # nameSuffix: _HybridGlobalization_AOT + # extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) /p:HybridGlobalization=true + # runAOT: true + # isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }} + # isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }} + # alwaysRun: true + # scenarios: + # - WasmTestOnChrome + # - WasmTestOnNodeJS - ${{ if and(ne(parameters.isRollingBuild, true), ne(parameters.excludeNonLibTests, true), ne(parameters.debuggerTestsOnly, true)) }}: # Builds only