diff options
author | Alex Auvolat <alex@adnab.me> | 2022-12-01 17:05:32 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-12-01 17:05:32 +0100 |
commit | ee18ddcebcdd5744f7a5abaecfd1c4441ba69c35 (patch) | |
tree | 4e7cdfd3802eb6d50d73d61d61f549f24c7ceb8b /.drone.yml | |
parent | 0ae7f5fbd924a293dcd3f1b6b61fc3cc46bd3876 (diff) | |
download | tricot-ee18ddcebcdd5744f7a5abaecfd1c4441ba69c35.tar.gz tricot-ee18ddcebcdd5744f7a5abaecfd1c4441ba69c35.zip |
Add Drone CI
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f49665c --- /dev/null +++ b/.drone.yml @@ -0,0 +1,38 @@ +--- +kind: pipeline +name: default + +node: + nix-daemon: 1 + +steps: + - name: check formatting + image: nixpkgs/nix:nixos-22.05 + commands: + - nix-shell -p cargo --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.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 +hmac: c99528a32d4c9f5016e6143e08291c99a8b248880f7dc3ee3550803e16cd28ad + +... |