diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-09-27 19:16:55 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-09-27 19:16:55 -0500 |
commit | 919c34d539995eea6dd385358c4d77fa5ffec5e1 (patch) | |
tree | b2efab4f0831c36d4190184af210b95ef8d0d112 | |
parent | 469715d7af2269fb7846d57469fe993d483ffec0 (diff) |
ci: add build manifest for build.sr.ht
-rw-r--r-- | .build.yml | 19 |
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 |