1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-11 02:13:38 +09:00
Satori/docs/workflow/testing
Steve Pfister d7d0e421d7
[wasm] Modify workload to pick threading runtime packs (#72412)
* [wasm] Modify workload to pick threading runtime packs

This change adds the 2 wasm threading runtime packs to the wasm workload. In order for a threading runtime pack to be chosen, WorkloadManifest.targets is also modified to override the runtime pack name when the following props are set:

WasmEnableThreads - full threading support and will load Microsoft.NETCore.App.Runtime.multithread.Mono.browser-wasm

WasmEnablePerfTrace - runtime only threading support and will load Microsoft.NETCore.App.Runtime.perftrace.Mono.browser-wasm

* Add error condition when both WasmEnableThreading and WasmEnablePerfTrace are true

* [wasm] Set default value for MonoWasmBuildVariant, for runtime pack nuget

* [wasm] Wasm.Build.Tests: build runtime pack nugets with different names

- The earlier approach of simply making copies of the existing runtime
pack nuget with different names doesn't work, and `dotnet workload
install` rejects it.

```
  Installing pack Microsoft.NETCore.App.Runtime.Mono.multithread.browser-wasm version 7.0.0-ci...
  Workload installation failed. Rolling back installed packs...
```

Instead, now we build the missing nugets from the project with different
values for `$(MonoWasmBuildVariant)`.

- this handles local builds, and incremental builds also
- To skip building the missing nugets, for example, when you have all of
them available, then set `WasmSkipMissingRuntimePackBuild=true`.

* fix comment

Co-authored-by: Steve Pfister <steve.pfister@microsoft.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
2022-07-27 12:08:59 -04:00
..
coreclr Fix typos (#72709) 2022-07-23 20:24:28 -07:00
host Add doc about using local build of apphost (#69097) 2022-05-10 14:24:38 -07:00
libraries Fix unit test example (#70457) 2022-06-08 14:59:38 -07:00
mono Fix typos (#72709) 2022-07-23 20:24:28 -07:00
testing-workloads.md [wasm] Modify workload to pick threading runtime packs (#72412) 2022-07-27 12:08:59 -04:00
using-corerun.md Implement support for passing a .env file to corerun to easily set environment variables for stress testing. (#58222) 2021-09-03 02:18:59 +00:00
using-your-build.md Rename nightly to daily in the dogfood instructions (#71383) 2022-06-28 09:27:58 -04:00
visualstudio.md Fix trailing whitespaces (#40891) 2020-08-19 17:29:01 -07:00