ci(linux): the toolchain step starts with nix, with no && inside, for Fabrica's preflight
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
# via-core: the whole workspace once on Linux, on the server's NixOS runner, before the v0.1.0 tag (QA F-11; Mark,
|
# via-core: the whole workspace once on Linux, on the server's NixOS runner, before the v0.1.0 tag (QA F-11; Mark,
|
||||||
# 2026-11-26: "Fabrica server runner"). By hand (Artifex → via-core → linux, or the hub's POST /api/runs with
|
# 2026-11-26: "Fabrica server runner"). By hand (Artifex → via-core → linux, or the hub's POST /api/runs with
|
||||||
# pipeline linux and a ref), or on a push to feature/roads or ci/linux. It builds and switches nothing on the
|
# pipeline linux and a ref), or on a push to feature/roads or ci/linux. It builds and switches nothing on the
|
||||||
# server. The toolchain is the flake's `ci` shell (nixos-26.05).
|
# server. Every run line starts with `nix` and has no `&&`, `;` or `|` (Fabrica's preflight reads each part's first
|
||||||
|
# word as a runner tool). The toolchain is the flake's `ci` shell (nixos-26.05).
|
||||||
name: linux
|
name: linux
|
||||||
on:
|
on:
|
||||||
push: [feature/roads, ci/linux]
|
push: [feature/roads, ci/linux]
|
||||||
@@ -11,7 +12,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 --workspace --no-fail-fast
|
run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c cargo test --workspace --no-fail-fast
|
||||||
|
|||||||
Reference in New Issue
Block a user