2024-07-13 06:24:20 +01:00
|
|
|
image: debian/stable
|
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
|
2024-07-13 06:24:20 +01:00
|
|
|
- bld-dbg: |
|
2023-11-29 15:07:59 +00:00
|
|
|
cd k2spice
|
|
|
|
source "$HOME/.cargo/env"
|
|
|
|
cargo build
|
2024-07-13 06:24:20 +01:00
|
|
|
- bld-rel: |
|
|
|
|
cd k2spice
|
|
|
|
source "$HOME/.cargo/env"
|
|
|
|
cargo build --release
|
2023-11-29 15:07:59 +00:00
|
|
|
- test: |
|
|
|
|
cd k2spice
|
|
|
|
source "$HOME/.cargo/env"
|
|
|
|
cargo test
|
|
|
|
- clippy: |
|
|
|
|
cd k2spice
|
|
|
|
source "$HOME/.cargo/env"
|
|
|
|
cargo clippy
|