diff options
Diffstat (limited to '.woodpecker.yml')
-rw-r--r-- | .woodpecker.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..e39aaa9 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,26 @@ +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-* |