aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.builds/ci.yml18
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