summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-04-06 09:45:42 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-04-06 10:19:14 +0200
commitd9810aaa4c7308f56424d2781d628b4bf96a3a06 (patch)
treed71c4147813d9e73124957a7711cf782ab9d6031
parent4c26f98c6de843d9c35ba8a5ec1a3ba3d066b99d (diff)
Add srht build file
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--.builds/debian.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.builds/debian.yml b/.builds/debian.yml
new file mode 100644
index 0000000..f9a4596
--- /dev/null
+++ b/.builds/debian.yml
@@ -0,0 +1,20 @@
+image: debian/buster
+sources:
+ - https://git.sr.ht/~matthiasbeyer/repolocli
+packages:
+ - libssl-dev
+ - openssl
+ - pkg-config
+tasks:
+ - install: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.50.0
+ - build: |
+ cd repolocli
+ PATH="$HOME/.cargo/bin:$PATH" cargo build --all --all-features
+ - test: |
+ cd repolocli
+ PATH="$HOME/.cargo/bin:$PATH" cargo test --all --all-features
+triggers:
+ - action: email
+ condition: always
+ to: mail@beyermatthias.de
+