From 28eb20f1dcca3add1b895e98a9c6678e59f1ec8a Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 3 Jan 2021 16:45:01 +0100 Subject: Add srht build config Signed-off-by: Matthias Beyer --- .builds/nixos.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .builds/nixos.yml 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 + -- cgit v1.2.3