Skip to content

ci: faster release builds - #91

Merged
asulwer merged 1 commit into
masterfrom
ci/faster-builds
Oct 26, 2026
Merged

asulwer merged 1 commit into
masterfrom
ci/faster-builds

Conversation

@asulwer

@asulwer asulwer commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Release builds compile from scratch, and fat LTO with one codegen unit made the final step over half of that: ~4 of ~7.5 minutes per OS. Thin LTO with the default codegen units cut a cold local build from 207 s to 118 s, for an exe about 3 MB bigger.

The Linux package install now keeps the .deb files in the Actions cache, keyed on the exact files apt would download. The runners' Ubuntu mirror took 13-18 minutes for 64 MB twice today, against 20 s normally.

release.yml no longer uses rust-cache: a release's cache never survived to the next release, so saving it only cost time and evicted the caches Build and Check reuse.

Release builds compile from scratch, and fat LTO with one codegen unit made the final step over half of that: ~4 of ~7.5 minutes per OS. Thin LTO with the default codegen units cut a cold local build from 207 s to 118 s, for an exe about 3 MB bigger.

The Linux package install now keeps the .deb files in the Actions cache, keyed on the exact files apt would download. The runners' Ubuntu mirror took 13-18 minutes for 64 MB twice today, against 20 s normally.

release.yml no longer uses rust-cache: a release's cache never survived to the next release, so saving it only cost time and evicted the caches Build and Check reuse.
@asulwer
asulwer merged commit 52de4a0 into master Oct 26, 2026
10 checks passed
@asulwer
asulwer deleted the ci/faster-builds branch October 26, 2026 21:47
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.

1 participant