From a7d9e4bf5d418392c29b8f26f07ff11a6acbf544 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 9 May 2020 10:44:45 +0200 Subject: Add srht build on debian Signed-off-by: Matthias Beyer --- .builds/debian.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .builds/debian.yml diff --git a/.builds/debian.yml b/.builds/debian.yml new file mode 100644 index 0000000..816e9e3 --- /dev/null +++ b/.builds/debian.yml @@ -0,0 +1,24 @@ +image: debian/stable +sources: + - https://git.sr.ht/~matthiasbeyer/serde-select +packages: + - curl + - libclang-dev +tasks: + - install: curl https://sh.rustup.rs -sSf | sh -s -- -y + - build: | + cd serde-select + PATH="$HOME/.cargo/bin:$PATH" cargo build --all --all-features + - test: | + cd serde-select + PATH="$HOME/.cargo/bin:$PATH" cargo test --all --all-features + - clippy-install: | + PATH="$HOME/.cargo/bin:$PATH" rustup component add clippy + - clippy: | + cd serde-select + PATH="$HOME/.cargo/bin:$PATH" cargo clippy --all --all-targets --all-features -- -D warnings +triggers: + - action: email + condition: always + to: mail@beyermatthias.de + -- cgit v1.2.3