From 2d779100d8d96307132c90940f42164167db7198 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 13 Mar 2021 10:48:06 +0100 Subject: Add srht build configuration 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..5fb602e --- /dev/null +++ b/.builds/debian.yml @@ -0,0 +1,24 @@ +image: debian/buster +sources: + - https://git.sr.ht/~matthiasbeyer/config-rs-maint +tasks: + - install: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.50.0 + - build: | + cd config-rs-maint + PATH="$HOME/.cargo/bin:$PATH" cargo build --all --all-features + - test: | + cd config-rs-maint + PATH="$HOME/.cargo/bin:$PATH" cargo test --all --all-features + - clippy: | + cd config-rs-maint + PATH="$HOME/.cargo/bin:$PATH" rustup component add clippy + PATH="$HOME/.cargo/bin:$PATH" cargo clippy --all --all-targets --all-features -- -D warnings + - fmt: | + cd config-rs-maint + PATH="$HOME/.cargo/bin:$PATH" rustup component add rustfmt + PATH="$HOME/.cargo/bin:$PATH" cargo fmt -- --check +triggers: + - action: email + condition: always + to: mail@beyermatthias.de + -- cgit v1.2.3