mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 19:51:26 -05:00
b7604a54e7
The lint leg's dependency cache keeps no compiled workspace crates, so on a pull request `cargo test -p vectorcraft-ui-egui --no-default-features --test install_fonts` rebuilt every workspace crate without the bundled fonts: 35 of the lint leg's 60 minutes, and the longest leg of the run. `cargo xtask ci` splits its no-bundled-fonts step in two. The `no-bundled-fonts` step (the `cargo tree` checks and the clippy run without default features) stays in `cargo xtask ci checks`. The new `no-bundled-fonts-tests` step runs the two tests, and the new `cargo xtask ci after-archive` runs it after the doctests in the gate's build job, whose rolling cache entry keeps the workspace crates. The tests' builds record their units in CRAFT_CACHE_UNITS, so the cache trim keeps the crates built without the fonts.