Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasm] CI: For linux, run AOT smoke tests with the EAT build #82570

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions eng/pipelines/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -435,18 +435,10 @@ extends:
nameSuffix: _EAT
runAOT: false
shouldRunSmokeOnly: false
extraBuildArgs: /p:RunSmokeTestsWithAOT=true
alwaysRun: ${{ variables.isRollingBuild }}

# AOT Library tests
- template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml
parameters:
platforms:
- browser_wasm
nameSuffix: _AOT
runAOT: true
shouldRunSmokeOnly: true
alwaysRun: ${{ variables.isRollingBuild }}

# AOT - only run for windows. For linux, it gets run with EAT
- template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml
parameters:
platforms:
Expand Down
4 changes: 4 additions & 0 deletions src/libraries/tests.proj
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,10 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Condition="'$(TargetOS)' == 'browser' and '$(RunSmokeTestsWithAOT)' == 'true'"
Include="@(SmokeTestProject)"
AdditionalProperties="RunAOTCompilation=true" />

<ProjectReference Condition="'$(RunSmokeTestsOnly)' == 'true'"
Include="@(SmokeTestProject)" />
<ProjectReference Condition="'$(RunHighAOTResourceRequiringTestsOnly)' == 'true'"
Expand Down