61e1f1da19
Mark, 2026-11-26: the Linux run goes on Fabrica's server runner. The flake gives only the toolchain (nixos-26.05, locked as Ianitor's); the pipeline runs cargo test --workspace in debug and release. It builds and switches nothing on the server.
21 lines
999 B
YAML
21 lines
999 B
YAML
# 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
|
|
# 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).
|
|
name: linux
|
|
on:
|
|
push: [feature/roads, ci/linux]
|
|
manual: true
|
|
runner: nixos
|
|
env:
|
|
CARGO_TERM_COLOR: "never"
|
|
steps:
|
|
- id: toolchain
|
|
run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c bash -c "rustc --version && cargo --version"
|
|
- id: test-debug
|
|
needs: [toolchain]
|
|
run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c cargo test --workspace --no-fail-fast
|
|
- id: test-release
|
|
needs: [test-debug]
|
|
run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c cargo test --workspace --release --no-fail-fast
|