ci(linux): every run line starts with nix, with no && inside, so Fabrica's preflight does not read cargo as a runner tool

This commit is contained in:
2026-11-26 04:24:32 +01:00
parent cbde0650a4
commit dafcebdef0
+4 -3
View File
@@ -1,6 +1,7 @@
# Arcanum: the whole suite once on Linux, on the server's NixOS runner (Mark, 2026-11-26: "Fabrica server runner"). # Arcanum: the whole suite once on Linux, on the server's NixOS runner (Mark, 2026-11-26: "Fabrica server runner").
# By hand (Artifex → arcanum → linux, or the hub's POST /api/runs with pipeline linux and a ref), or on a push to # By hand (Artifex → arcanum → linux, or the hub's POST /api/runs with pipeline linux and a ref), or on a push to
# ci/linux. It builds and switches nothing on the server. The toolchain is the flake's `ci` shell (nixos-26.05). # ci/linux. Every run line starts with `nix` and has no `&&`, `;` or `|`: Fabrica's preflight reads the first
# word of each such part as a tool the runner must have, even inside quotes. It builds and switches nothing on the server. The toolchain is the flake's `ci` shell (nixos-26.05).
name: linux name: linux
on: on:
push: [ci/linux] push: [ci/linux]
@@ -10,7 +11,7 @@ env:
CARGO_TERM_COLOR: "never" CARGO_TERM_COLOR: "never"
steps: steps:
- id: toolchain - id: toolchain
run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c bash -c "rustc --version && cargo --version" run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c cargo --version
- id: test-debug - id: test-debug
needs: [toolchain] needs: [toolchain]
run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c cargo test --no-fail-fast run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c cargo test --no-fail-fast
@@ -19,4 +20,4 @@ steps:
run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c cargo test --release --no-fail-fast run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c cargo test --release --no-fail-fast
- id: zeroize-probe - id: zeroize-probe
needs: [test-release] needs: [test-release]
run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c bash -c "cd zeroize-probe && cargo test --release -- --test-threads=1" run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c cargo test --release --manifest-path zeroize-probe/Cargo.toml -- --test-threads=1