diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-05-09 10:44:45 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-05-09 10:45:24 +0200 |
commit | a7d9e4bf5d418392c29b8f26f07ff11a6acbf544 (patch) | |
tree | f216c74c1961a0df5d1e4ffc4a3e130e51736368 | |
parent | 30f9101eaf7e72dc3783e3c34768851c9f098d96 (diff) |
Add srht build on debian
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-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..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 + |