Files
ianitor/.fabrica/artifex/verify-nix.yaml
T

18 lines
685 B
YAML

# Ianitor Domi: the verifiable build (docs/verify.md). On a v* tag the NixOS runner builds .#ianitor and
# .#ianitor-web from the tag (the run record keeps each output's store path and NAR hash), builds them again
# from scratch, and compares with the pin the release publishes (.fabrica/nix/pin.json at the tag); any
# difference fails the run. Runner: label `nixos`, Nix with flakes; no KVM needed.
name: verify-nix
on:
tag: "v*"
manual: true
runner: nixos
steps:
- id: ianitor
nix: .#ianitor
- id: web
nix: .#ianitor-web
- id: pin
needs: [ianitor, web]
run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c scripts/nix-pin.sh --check