Skip to content

AOT-compile the GitHub Pages deploy - #155

Merged
vchelaru merged 1 commit into
mainfrom
aot-deploy
Oct 25, 2026
Merged

vchelaru merged 1 commit into
mainfrom
aot-deploy

Conversation

@vchelaru

Copy link
Copy Markdown
Owner

Deploy publishes with RunAOTCompilation=true. PR checks and local dev stay on the plain build.

  • AOT requires PublishTrimmed=true, so AOT builds turn it on and root every assembly. Nothing gets trimmed and Roslyn still sees the full API surface.
  • WasmInitialHeapSize is set for AOT to skip the llvm-size step, which fails on Windows with one huge command line.
  • Adds the wasm-tools workload install to deploy.

Measured locally: download 26 MB -> 55 MB (Brotli), publish about 2.5 min -> about 1 h. Gum UI frame time is much lower with AOT.

Not verified in CI: deploy only runs on main, so the first AOT deploy happens on merge. Since deploy has cancel-in-progress, merging again within the hour cancels the deploy that's still running.

Closes #154

@vchelaru
vchelaru merged commit db3ff08 into main Oct 25, 2026
2 checks passed
@vchelaru
vchelaru deleted the aot-deploy branch October 25, 2026 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Try AOT compilation for the WASM build

1 participant