From f86b335f47848b4fc2124df4020456ea7ae0fed0 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Thu, 24 Sep 2026 21:32:32 +0200 Subject: [PATCH] Fix WASM extra-platforms branch selection Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 541a2c0a-365a-40d8-adfc-20e687d223b8 --- .../runtime-extra-platforms-wasm.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml b/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml index 89edb2548589e4..7f9466e97366bc 100644 --- a/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml +++ b/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml @@ -18,11 +18,11 @@ parameters: jobs: # -# ************ Rolling builds: ************* +# ************ runtime-extra-platforms invocation: ************* # - only run full or expensive library-test configurations # - rest are covered by runtime # -- ${{ if eq(variables.isRollingBuild, true) }}: +- ${{ if eq(parameters.isExtraPlatformsBuild, true) }}: # Full trimmed CoreCLR ReadyToRun library tests - template: /eng/pipelines/common/templates/wasm-coreclr-library-tests.yml parameters: @@ -80,11 +80,11 @@ jobs: useHelixMonitor: ${{ parameters.useHelixMonitor }} # -# ********** For !rolling builds, IOW - PR builds ************* +# ********** WASM-specific pipeline invocations: ************* # - run everything, if relevant paths changed # - For runtime-wasm, force run all the jobs # -- ${{ if and(ne(variables.isRollingBuild, true), ne(parameters.excludeLibTests, true), ne(parameters.debuggerTestsOnly, true)) }}: +- ${{ if and(ne(parameters.isExtraPlatformsBuild, 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 @@ -205,12 +205,12 @@ jobs: # ignore test failures for runtime-extra-platforms, but not when this # is run as part of a wasm specific pipeline like runtime-wasm shouldContinueOnError: ${{ not(parameters.isWasmOnlyBuild) }} - alwaysRun: ${{ variables.isRollingBuild }} + alwaysRun: ${{ parameters.isWasmOnlyBuild }} useHelixMonitor: ${{ parameters.useHelixMonitor }} scenarios: - WasmTestOnWasmtime -- ${{ if and(ne(variables.isRollingBuild, true), ne(parameters.excludeNonLibTests, true), ne(parameters.debuggerTestsOnly, true)) }}: +- ${{ if and(ne(parameters.isExtraPlatformsBuild, true), ne(parameters.excludeNonLibTests, true), ne(parameters.debuggerTestsOnly, true)) }}: # Builds only - template: /eng/pipelines/common/templates/wasm-build-only.yml parameters: @@ -289,7 +289,7 @@ jobs: isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }} useHelixMonitor: ${{ parameters.useHelixMonitor }} -- ${{ if and(ne(variables.isRollingBuild, true), ne(parameters.excludeOptional, true)) }}: +- ${{ if and(ne(parameters.isExtraPlatformsBuild, true), ne(parameters.excludeOptional, true)) }}: - template: /eng/pipelines/common/templates/wasm-library-tests.yml parameters: platforms: