diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-01-03 16:45:01 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-01-03 16:45:47 +0100 |
commit | 28eb20f1dcca3add1b895e98a9c6678e59f1ec8a (patch) | |
tree | 697c3593278f9a0453775ced30d5ff29512d5640 /.builds | |
parent | 3ae65e47bfc48851b84d6b06288afb9c2f355a13 (diff) |
Add srht build config
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to '.builds')
-rw-r--r-- | .builds/nixos.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.builds/nixos.yml b/.builds/nixos.yml new file mode 100644 index 0000000..ec5d268 --- /dev/null +++ b/.builds/nixos.yml @@ -0,0 +1,18 @@ +image: nixos/latest +repositories: + nixpkgs: https://nixos.org/channels/nixos-20.09 +sources: + - https://git.sr.ht/~matthiasbeyer/prometheus-mpd-exporter +tasks: + - install: | + cd prometheus-mpd-exporter + nix-shell ./shell.nix --run "echo nix-shell ready" + - build: | + cd prometheus-mpd-exporter + nix-shell ./shell.nix --run "echo nix-shell ready" + nix-shell ./shell.nix --run "cargo build --all --all-features" +triggers: + - action: email + condition: always + to: mail@beyermatthias.de + |