ci(nix): build the test derivation without DWARF and without archiving its target
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VdfEGXA7aJ6ftMsCc9PJze
This commit is contained in:
committed by
Edward Langley
parent
29f1f85fe1
commit
f4f4fb9702
@@ -30,6 +30,9 @@
|
|||||||
# The `test` job ran the dev/test profiles, not crane's default release:
|
# The `test` job ran the dev/test profiles, not crane's default release:
|
||||||
# debug assertions and overflow checks are part of what it tested.
|
# debug assertions and overflow checks are part of what it tested.
|
||||||
CARGO_PROFILE = "";
|
CARGO_PROFILE = "";
|
||||||
|
# No DWARF in the dev/test artifacts: it was about half of the test build's
|
||||||
|
# disk and the runners hit ENOSPC linking it. Asserts are unaffected.
|
||||||
|
CARGO_PROFILE_DEV_DEBUG = "0";
|
||||||
};
|
};
|
||||||
|
|
||||||
wasmTarget = "wasm32-unknown-unknown";
|
wasmTarget = "wasm32-unknown-unknown";
|
||||||
@@ -103,6 +106,8 @@ in rec {
|
|||||||
// {
|
// {
|
||||||
pname = "improvise-test";
|
pname = "improvise-test";
|
||||||
cargoArtifacts = nativeDeps;
|
cargoArtifacts = nativeDeps;
|
||||||
|
# Nothing reuses the test target dir; archiving it is more disk.
|
||||||
|
doInstallCargoArtifacts = false;
|
||||||
cargoTestExtraArgs = "--workspace";
|
cargoTestExtraArgs = "--workspace";
|
||||||
nativeBuildInputs = [pkgs.python3 pkgs.git];
|
nativeBuildInputs = [pkgs.python3 pkgs.git];
|
||||||
# tests/shipped_documents_load.rs walks the git index (`git ls-files`)
|
# tests/shipped_documents_load.rs walks the git index (`git ls-files`)
|
||||||
|
|||||||
Reference in New Issue
Block a user