diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-04-24 11:14:50 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-04-24 11:37:08 +0200 |
commit | 6a67b236d202d243d4c8f74cf65d64955cb7c9ab (patch) | |
tree | 17dfd8111932385b57228b136b31e39077c1264b | |
parent | 355d23b4ab1ec8dbe0479d546177061464a12f61 (diff) |
Add srht build on debian
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | .builds/debian.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.builds/debian.yml b/.builds/debian.yml new file mode 100644 index 0000000..1510240 --- /dev/null +++ b/.builds/debian.yml @@ -0,0 +1,18 @@ +image: debian/stable +sources: + - https://git.sr.ht/~matthiasbeyer/filters +packages: + - curl + - openssl +tasks: + - install: curl https://sh.rustup.rs -sSf | sh -s -- -y + - build: | + cd filters + PATH="$HOME/.cargo/bin:$PATH" cargo build --all + - test: | + cd filters + PATH="$HOME/.cargo/bin:$PATH" cargo test --all + - clippy: | + cd filters + PATH="$HOME/.cargo/bin:$PATH" rustup component add clippy + PATH="$HOME/.cargo/bin:$PATH" cargo clippy --all --all-targets -- -D warnings |