tricot/.woodpecker.yml

27 lines
697 B
YAML
Raw Normal View History

2024-03-20 16:28:47 +00:00
when:
event:
- push
- pull_request
- tag
- cron
2024-03-20 16:31:56 +00:00
- manual
2022-12-01 16:05:32 +00:00
steps:
2022-12-02 11:32:25 +00:00
- 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'
2022-12-01 16:05:32 +00:00
- name: build
image: nixpkgs/nix:nixos-22.05
commands:
- nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#debug.x86_64-linux.tricot
- name: test
image: nixpkgs/nix:nixos-22.05
commands:
- nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#test.x86_64-linux.tricot
- ./result-bin/bin/tricot-*