diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-03-13 11:11:21 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-03-13 11:11:21 +0100 |
commit | ba7090f173aed83f3fa85f985c2732f4b97c6172 (patch) | |
tree | b9ebd8f7fd7ce7e4b6c13f24d63a3e756f410174 /.builds/debian.yml | |
parent | bf09a730d44cb72f483dab04163dd75f2b9d1746 (diff) | |
parent | bd121fa310ac8ab7e76e25eeea5294826f215fcb (diff) |
Merge branch 'srht-builds'
Diffstat (limited to '.builds/debian.yml')
-rw-r--r-- | .builds/debian.yml | 24 |
1 files changed, 24 insertions, 0 deletions
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 + |