From: Ankit Jain Date: Mon, 6 Feb 2023 02:31:22 +0000 (-0500) Subject: [wasm] CI: add wasi jobs to runtime-wasm (#81647) X-Git-Tag: accepted/tizen/unified/riscv/20231226.055536~4226 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb093c1d8b382a33a49e36ab2cf55c56997fad50;p=platform%2Fupstream%2Fdotnet%2Fruntime.git [wasm] CI: add wasi jobs to runtime-wasm (#81647) - And run all the library tests with wasi, on optional pipeline --- diff --git a/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml b/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml index 29ae803..81c303a 100644 --- a/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml +++ b/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml @@ -177,6 +177,19 @@ jobs: isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }} alwaysRun: ${{ parameters.isWasmOnlyBuild }} + # Wasi + - template: /eng/pipelines/common/templates/wasm-library-tests.yml + parameters: + platforms: + - wasi_wasm + - wasi_wasm_win + nameSuffix: '_Smoke' + extraBuildArgs: /p:EnableAggressiveTrimming=true /p:RunWasmSamples=true + shouldRunSmokeOnly: true + alwaysRun: ${{ variables.isRollingBuild }} + scenarios: + - normal + - ${{ 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 @@ -237,7 +250,11 @@ jobs: parameters: platforms: - wasi_wasm - extraBuildArgs: /p:EnableAggressiveTrimming=true + - wasi_wasm_win + extraBuildArgs: /p:EnableAggressiveTrimming=true /p:RunWasmSamples=true + # always run for wasm only pipelines alwaysRun: ${{ parameters.isWasmOnlyBuild }} + isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }} + isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }} scenarios: - normal