summaryrefslogtreecommitdiffstats
path: root/.builds/debian.yml
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-04-24 11:37:20 +0200
committerMatthias Beyer <mail@beyermatthias.de>2020-04-24 11:37:20 +0200
commit1fc34da9b8848634eba77c3f705725ac1303d1b0 (patch)
treec2eae7522202cc004af29f56fbd923ca4a0e0750 /.builds/debian.yml
parentfd84568c5f242d5766b2c9456232e70e8dc9e693 (diff)
parentcdbf5c95bb9788a867fa1039bd6dc35241a6a42b (diff)
Merge branch 'to-srht'
Diffstat (limited to '.builds/debian.yml')
-rw-r--r--.builds/debian.yml18
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