tricot/.drone.yml

41 lines
855 B
YAML
Raw Normal View History

2022-12-01 16:05:32 +00:00
---
kind: pipeline
name: default
node:
nix-daemon: 1
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-*
trigger:
event:
- custom
- push
- pull_request
- tag
- cron
---
kind: signature
2022-12-02 11:32:25 +00:00
hmac: 49cde53ec25364cc3b3f041092c8e658fe9252342253757d86814ca12d5cb0f7
2022-12-01 16:05:32 +00:00
...