diff options
author | Toby Vincent <tobyv13@gmail.com> | 2023-01-11 19:09:14 -0600 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2023-01-11 19:09:14 -0600 |
commit | 19ccec311d29e7426645b5ade9f0f1cbb4a75579 (patch) | |
tree | a24e59b41736df2f9991ebbae8ec91c5c280f391 /.builds/ci.yml | |
parent | f96e6f042fa8ab0e61e7c10739eafd1155a32eff (diff) |
build: add ci for build, test, clippy and fmt
Diffstat (limited to '.builds/ci.yml')
-rw-r--r-- | .builds/ci.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.builds/ci.yml b/.builds/ci.yml new file mode 100644 index 0000000..a085bcd --- /dev/null +++ b/.builds/ci.yml @@ -0,0 +1,18 @@ +image: archlinux +packages: + - rust +sources: + - https://git.sr.ht/~tobyvin/projectr +tasks: + - build: | + cd projectr + cargo build --workspace --all-features + - test: | + cd projectr + cargo test --workspace --all-features + - clippy: | + cd projectr + cargo clippy --workspace --all-features --no-deps -- -D warnings + - fmt: | + cd projectr + cargo fmt --all -- --check |