Skip to content

Enable NativeAOT in the CI #62833

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

Merged
merged 7 commits into from
Dec 16, 2021
Merged

Conversation

MichalStrehovsky
Copy link
Member

No description provided.

@ghost
Copy link

ghost commented Dec 15, 2021

Tagging subscribers to this area: @hoyosjs
See info in area-owners.md if you want to be subscribed.

Issue Details

null

Author: MichalStrehovsky
Assignees: MichalStrehovsky
Labels:

area-Infrastructure-coreclr

Milestone: -

@MichalStrehovsky
Copy link
Member Author

@dotnet/runtime-infrastructure this enables NativeAOT testing in the CI.

This currently uses the same strategy we used in runtimelab (just run testing on the build machine). This has been fine in runtimelab because if we pass the ~20 smoke tests, the whole product is like 98% workable. We'll obviously need to up the testing if we want to ship this in some form, so I consider this strategy temporary and I'll want to use Helix. Also we have a pre-existing testing hole on ARM64. We haven't broken any of our existing customers who rely on ARM64 mostly because codegen is extensively tested in CoreCLR proper and there's very few NativeAOT-specific arch-specific issues.

The build config tries to be as lightweight as possible (not building the rest of CoreCLR, which explains the corerun-related test change in this pull request). The full build+test pass finishes in ~30 minutes on Unixes. I would like to improve that some more (e.g. we're still building superpmi, or Microsoft.Extensions.* libraries in these legs, but we don't have to).

@MichalStrehovsky MichalStrehovsky changed the title [WIP] Enable NativeAOT in the CI Enable NativeAOT in the CI Dec 15, 2021
@MichalStrehovsky MichalStrehovsky merged commit 7f57584 into dotnet:main Dec 16, 2021
@MichalStrehovsky MichalStrehovsky deleted the naotci branch December 16, 2021 04:38
@ghost ghost locked as resolved and limited conversation to collaborators Jan 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants