A .builds/nightly.yml => .builds/nightly.yml +11 -0
@@ 0,0 1,11 @@
+image: ubuntu/lts
+packages:
+ - curl
+sources:
+ - https://git.sr.ht/~liz/yooper
+tasks:
+ - rustup: |
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
+ - test: |
+ cd yooper
+ $HOME/.cargo/bin/cargo test
A .builds/stable.yml => .builds/stable.yml +14 -0
@@ 0,0 1,14 @@
+image: ubuntu/lts
+packages:
+ - curl
+sources:
+ - https://git.sr.ht/~liz/yooper
+tasks:
+ - rustup: |
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y -c clippy
+ - test: |
+ cd yooper
+ $HOME/.cargo/bin/cargo test --workspace
+ - clippy: |
+ cd yooper
+ $HOME/.cargo/bin/cargo clippy --workspace --all-targets --all-features -- -D warnings