Skip to content

Commit 1157c5b

Browse files
committed
dotnet: add test for AOT codegen
1 parent 82a68f9 commit 1157c5b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Formula/d/dotnet.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,9 @@ def caveats
170170
resource("docfx").stage do
171171
system bin/"dotnet", "restore", "src/docfx", "--disable-build-servers", "--no-cache"
172172
end
173+
174+
# Confirm that building/publishing with native AOT works
175+
system bin/"dotnet", "new", "console", "-o", "TestConsoleAOT", "--aot"
176+
system bin/"dotnet", "publish", "TestConsoleAOT"
173177
end
174178
end

0 commit comments

Comments
 (0)