1
0
Fork 0
mirror of https://git.sr.ht/~spicywolf/k2spice synced 2025-01-18 17:59:39 +00:00
k2spice/.build.yml

23 lines
600 B
YAML
Raw Normal View History

2023-11-29 15:07:59 +00:00
image: freebsd/latest
2023-11-29 15:45:44 +00:00
environment:
RUSTFLAGS: -D warnings
2023-11-29 15:07:59 +00:00
sources:
- https://git.sr.ht/~spicywolf/k2spice
tasks:
- rustup: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
source "$HOME/.cargo/env"
rustup toolchain install nightly --allow-downgrade --profile minimal --component clippy
- build: |
cd k2spice
source "$HOME/.cargo/env"
cargo build
- test: |
cd k2spice
source "$HOME/.cargo/env"
cargo test
- clippy: |
cd k2spice
source "$HOME/.cargo/env"
cargo clippy