diplonat/.drone.yml

41 lines
861 B
YAML
Raw Normal View History

---
kind: pipeline
name: default
2022-12-01 16:38:04 +00:00
node:
nix-daemon: 1
2022-12-01 16:38:04 +00:00
steps:
2022-12-02 11:36:55 +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:38:04 +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.diplonat
- name: test
image: nixpkgs/nix:nixos-22.05
commands:
- nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#test.x86_64-linux.diplonat
- ./result-bin/bin/diplonat-*
trigger:
event:
- custom
- push
- pull_request
- tag
- cron
---
kind: signature
2022-12-02 11:36:55 +00:00
hmac: 110a818a7e2a1c48032c552a2fa482c7ef8293c3108fa23b01a738c567060dc9
2022-12-01 16:38:04 +00:00
...