Description
WASM support got again broken very recently: dotnet/runtime#78575
We should consider adding automated tests for verifying that WASM just works.
Our Linux CI jobs takes 20+ minutes to execute, so there is plenty of time we can consume (the limit is 1h).
We should mimic what we do for NativeAOT:
- Install dependencies on Linux:
BenchmarkDotNet/azure-pipelines.Ubuntu.yml
Lines 17 to 22 in ad8e9b2
BenchmarkDotNet/.github/workflows/build.yaml
Lines 26 to 27 in ad8e9b2
- Run against hardcoded version to avoid WASM breaking us.
Ideally, we should update the SDK to .NET 7 first: #2080
We don't need to build entire monoVM as described in https://benchmarkdotnet.org/articles/configs/toolchains.html#wasm. We just need to install v8 as described in https://github.com/dotnet/runtime/blob/main/docs/workflow/testing/libraries/testing-wasm.md and follow steps described by @radical here: #1818 (comment)