mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-06 14:03:16 -05:00
On the pull request run the build job ran one `cargo test --workspace` for every test, and the runner stopped with "received a shutdown signal" (exit 143) after 28 minutes, while it compiled vectorcraft-engine's, vectorcraft-ui-egui's and the app crates' tests side by side. A workspace build also resolves features over every crate, so on the build host the archive step then rebuilt 58 units that the shards' own builds had built with other features. `cargo xtask ci archive` now builds the library and binary tests of each shard's run in a cargo command of its own, then each run's integration tests, as the shards and the cache warm did before. Each archive uses its run's package and target selection, so the archive step finds every test built: on the build host each of the archive commands finished in under a second after the builds. An archive holds one cargo selection, so each shard now makes one run: vectorcraft-engine's integration tests move from shard 4 to shard 3, beside its library tests, and `ci archive` fails on a shard with more than one run.