aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-09-27 19:16:55 -0500
committerToby Vincent <tobyv13@gmail.com>2022-09-27 19:16:55 -0500
commit919c34d539995eea6dd385358c4d77fa5ffec5e1 (patch)
treeb2efab4f0831c36d4190184af210b95ef8d0d112
parent469715d7af2269fb7846d57469fe993d483ffec0 (diff)
ci: add build manifest for build.sr.ht
-rw-r--r--.build.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..55e2d14
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,19 @@
+image: alpine/latest
+packages:
+ - rust
+ - cargo
+ - rust-clippy
+ - rustfmt
+ - openssl-dev
+sources:
+ - https://git.sr.ht/~tobyvin/zone
+tasks:
+ - clippy: |
+ cd zone
+ cargo clippy --workspace --all-features --no-deps -- -D warnings
+ - test: |
+ cd zone
+ cargo test --workspace --all-features
+ - fmt: |
+ cd zone
+ cargo fmt --all -- --check