cea95f96

By: Tom Sydney Kerckhove <syd@cs-syd.eu>

share nextest test compilation across CI groups via cargo nextest archive

Each of the five gammaloop-nextest-* derivations previously recompiled
its packages' test binaries on top of the shared cargoArtifacts blob,
duplicating any compile work for crates that appear in multiple groups.
Build a single workspace-wide nextest archive once with
craneLib.mkCargoDerivation, expose it as a flake package so NixCI
schedules it on its own worker, and have each group derivation run
prebuilt tests with --archive-file --workspace-remap . instead of
invoking cargo build.

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 11h29m23s 4s 4s 11h29m28s 11h29m23s
Eval 11h29m44s 1m01s 1m01s 11h30m45s 15s
Build 13h29m46s 13m29s - - 2h14m31s
Test 13h59m18s 0s - - 1m50s
Deploy - - - - 0s
Suite 11h29m23s 14m34s - - 13h46m01s

Timeline

0s11h30m13h30m13h39m13h44m13h45m13h46m13h47m13h48m13h49m13h50m13h51m13h52m13h53m