D53/.woodpecker.yml
Alex Auvolat b4d9c9b8aa
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
woodpecker CI
2024-03-20 17:36:05 +01:00

26 lines
691 B
YAML

trigger:
event:
- push
- pull_request
- tag
- cron
- manual
steps:
- name: check formatting
image: nixpkgs/nix:nixos-22.05
environment:
NIX_PATH: 'nixpkgs=channel:nixos-22.05'
commands:
- nix-shell -p cargo -p rustfmt --run 'cargo fmt -- --check'
- name: build
image: nixpkgs/nix:nixos-22.05
commands:
- nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#debug.x86_64-linux.d53
- name: test
image: nixpkgs/nix:nixos-22.05
commands:
- nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#test.x86_64-linux.d53
- ./result-bin/bin/d53-*