~liz/yooper

81a2b6c4247601028c00f9c9aeeae9447d21584b — Ellie Frost 4 years ago 904941b
Add builds
2 files changed, 25 insertions(+), 0 deletions(-)

A .builds/nightly.yml
A .builds/stable.yml
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