repositories / smith
smith
There are many coding harnesses - but this one is fast
owned by admin
.ci/check.kdl
Rawjob "check" {
image "docker.io/library/rust:1.98"
trigger {
push {
branch "trunk"
}
}
cache "cargo-home" {
path ".cargo-home"
key {
file "Cargo.lock"
}
}
cache "target" {
path "target"
key {
file "Cargo.lock"
}
}
run "export CARGO_HOME=\"$PWD/.cargo-home\""
run "rustup target add wasm32-wasip2"
run "cargo run -p xtask -- ci"
}