mirror of
https://git.sr.ht/~spicywolf/k2spice
synced 2025-01-18 09:49:38 +00:00
add ci
This commit is contained in:
parent
a8bbbf06a4
commit
e14d1b0485
20
.build.yml
Normal file
20
.build.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
image: freebsd/latest
|
||||
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
|
Loading…
Reference in a new issue