Skip to content

Commit

Permalink
Add net8 wasi workload tests (dotnet#92653)
Browse files Browse the repository at this point in the history
* Add net8 wasi workload tests

* Update eng/testing/tests.wasi.targets

Co-authored-by: Ankit Jain <radical@gmail.com>

* [wasm] CI: trigger WBT on changes to eng/testing/tests.{browser,wasm,wasi}.targets

* Update eng/testing/tests.wasi.targets

* Alias the net8 runtime pack correctly

---------

Co-authored-by: Ankit Jain <radical@gmail.com>
  • Loading branch information
lewing and radical authored Sep 26, 2023
1 parent f0c7534 commit d283475
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions eng/pipelines/common/evaluate-default-paths.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ jobs:
- eng/Version.Details.xml
- eng/Versions.props
- eng/testing/scenarios/BuildWasmAppsJobsList.txt
- eng/testing/tests.browser.targets
- eng/testing/tests.was*.targets
- eng/testing/workloads-testing.targets
- src/installer/pkg/sfx/Microsoft.NETCore.App/*
- src/libraries/sendtohelix*
Expand Down
7 changes: 6 additions & 1 deletion eng/testing/tests.wasi.targets
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,12 @@
ManifestName="Microsoft.NET.Workload.Mono.ToolChain.Current"
Variant="latest"
Version="$(PackageVersionForWorkloadManifests)" />
<WorkloadCombinationsToInstall Include="latest" Variants="latest" />

<WorkloadIdForTesting Include="wasi-experimental-net8;wasi-experimental"
ManifestName="Microsoft.NET.Workload.Mono.ToolChain.net8"
Variant="net8"
Version="$(PackageVersionForWorkloadManifests)" />
<WorkloadCombinationsToInstall Include="latest" Variants="latest;net8" />
</ItemGroup>
</Target>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,10 @@
},
"Microsoft.NETCore.App.Runtime.Mono.net8.wasi-wasm" : {
"kind": "framework",
"version": "${PackageVersionNet8}"
"version": "${PackageVersionNet8}",
"alias-to": {
"any": "Microsoft.NETCore.App.Runtime.Mono.wasi-wasm"
}
},
"Microsoft.NETCore.App.Runtime.net8.win-x64" : {
"kind": "framework",
Expand Down

0 comments on commit d283475

Please sign in to comment.