image: archlinux
packages:
- rustup
sources:
- https://git.sr.ht/qeef/bcar
tasks:
- setup: |
rustup toolchain install nightly stable
cd bcar/
rustup run stable cargo fetch
- stable: |
rustup default stable
cd bcar/
cargo build --verbose
cargo test --verbose
- nightly: |
rustup default nightly
cd bcar/
cargo build --verbose ||:
cargo test --verbose ||:
- docs: |
cd bcar/
rustup run stable cargo doc --no-deps
rustup run nightly cargo doc --no-deps ||: