diff options
Diffstat (limited to '.builds/nixos.yml')
-rw-r--r-- | .builds/nixos.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.builds/nixos.yml b/.builds/nixos.yml new file mode 100644 index 0000000..b7b13b7 --- /dev/null +++ b/.builds/nixos.yml @@ -0,0 +1,20 @@ +image: nixos/20.09 +repositories: + nixpkgs: https://nixos.org/channels/nixos-20.09 +sources: + - https://git.sr.ht/~matthiasbeyer/butido +tasks: + - install: | + cd butido + nix-shell ./shell.nix --run "echo nix-shell ready" + - build: | + cd butido + nix-shell ./shell.nix --run "cargo build --all --all-features" + - test: | + cd butido + nix-shell ./shell.nix --run "cargo test --all --all-features" +triggers: + - action: email + condition: always + to: mail@beyermatthias.de, matthias.beyer@atos.net + |