summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-04-04 13:27:29 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-04-04 13:27:29 +0200
commitc721c9ee8159fc7906eeacc766ebf065f4df6303 (patch)
tree9bac3de92cc181ffaae6d475d6a72f0cfc6bf679
parent7df14755ce8f961c623ce74732ca386c453511e0 (diff)
Add sourcehut build file
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--.builds/debian.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.builds/debian.yml b/.builds/debian.yml
new file mode 100644
index 0000000..111f38d
--- /dev/null
+++ b/.builds/debian.yml
@@ -0,0 +1,16 @@
+image: debian/buster
+sources:
+ - https://git.sr.ht/~matthiasbeyer/daglib
+tasks:
+ - install: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.50.0
+ - build: |
+ cd daglib
+ PATH="$HOME/.cargo/bin:$PATH" cargo build --all --all-features
+ - test: |
+ cd daglib
+ PATH="$HOME/.cargo/bin:$PATH" cargo test --all --all-features
+triggers:
+ - action: email
+ condition: always
+ to: mail@beyermatthias.de
+