mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-19 08:51:41 +01:00
The gate's archive of ~98 test binaries would be 10-18 GB compressed, so every shard restores the dependency cache, builds the tests and runs its partition (scripts/ci-test-shard.sh). `cargo xtask ci tests` runs the test steps on $NEXTEST_PARTITION, `ci build` builds exactly what a shard builds (main's cache warm-up), and `ci doctest` runs in one shard. The `ci archive` part, the archive's xtask binary and the extraction are gone. The Linux GPU shard keeps the gpu group alone on lavapipe; shards 2-4 split the rest. Windows uses six shards: ~55 min of tests on one runner, and its slowest test alone takes ~9.6 min, so a seventh would not shorten the slowest shard.