-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Add AOT flag to worker template #47721
Conversation
Are there template tests for worker? Should add aot publish |
Fix Api template tests for NativeAOT to pass locally.
Done. I left them skipped for now until #47247 is fixed. |
Anyone have any feedback here? |
@@ -35,7 +35,7 @@ public async Task ApiTemplateCSharp() | |||
await ApiTemplateCore(languageOverride: null); | |||
} | |||
|
|||
[ConditionalFact(Skip = "Unskip when there are no more build or publish warnings for native AOT.")] | |||
[ConditionalFact(Skip = "Unskip when Helix supports native AOT. https://github.com/dotnet/aspnetcore/pull/47247/")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Should we update the tests in the gRPC templates with an issue reference as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Grpc template tests are getting updated in that PR already. We can just wait for that PR to get clean.
The
-aot
flag is available in theapi
,grpc
, and soon to be in theconsole
templates. Theworker
template is compatible with NativeAOT, so it should have the option as well.Fix #46541