Skip to content

use rust caching in ci jobs - #158

Merged
dhth merged 1 commit into
mainfrom
use-rust-caching-on-ci
Aug 27, 2026
Merged

use rust caching in ci jobs#158
dhth merged 1 commit into
mainfrom
use-rust-caching-on-ci

Conversation

@dhth

@dhth dhth commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Standardize Rust setup with mise and cache Cargo artifacts across CI
jobs that compile the project. Disable dev-profile debug info to reduce
build time and cache size.

Build back-compat revisions in the default target directory so they
benefit from the cache.

Here’s data from two runs on the PR associated with this commit: the first had
no Rust cache available, while the subsequent run restored a full cache hit.

Job First run Cached run Reduction Cargo work
Build — Ubuntu 66s 21s 68% 44.66s → 3.20s
Build — macOS 132s 34s 74% ~84s → 8.62s
Lint 57s 28s 51% 36.85s → 3.25s
Back compatibility 67s 22s 67% 41.31s → 3.06s
Tests — Ubuntu 75s 26s 65% 50.33s → 4.96s
Tests — macOS 147s 52s 65% ~94.7s → 11.41s
Overall workflow 2m41s 1m03s 61%

Standardize Rust setup with mise and cache Cargo artifacts across CI
jobs that compile the project. Disable dev-profile debug info to reduce
build time and cache size.

Build back-compat revisions in the default target directory so they
benefit from the cache.
@dhth
dhth merged commit 17c0d7f into main Aug 27, 2026
32 checks passed
@dhth
dhth deleted the use-rust-caching-on-ci branch August 27, 2026 16:58
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