Files
arcanum/.fabrica/artifex/linux.yaml
T
mnovak cbde0650a4 ci: the suite once on Linux, on Fabrica's NixOS runner (pipeline linux, flake ci shell)
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 in debug and release
and the zeroize probe. It builds and switches nothing on the server.
2026-11-26 04:21:08 +01:00

23 lines
1.1 KiB
YAML

# 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
# 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: [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 --no-fail-fast
- id: test-release
needs: [test-debug]
run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c cargo test --release --no-fail-fast
- id: zeroize-probe
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"