mirror of
https://codeberg.org/Toasterson/solstice-ci.git
synced 2026-04-10 13:20:41 +00:00
Add Solstice CI workflow definition for Linux and Illumos builds
This commit is contained in:
parent
d05121b378
commit
f3831dac4a
1 changed files with 17 additions and 0 deletions
17
.solstice/workflow.kdl
Normal file
17
.solstice/workflow.kdl
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
workflow name="Solstice CI for solstice-ci" {
|
||||||
|
// Linux build and test on Ubuntu 22.04 runner
|
||||||
|
job id="linux-build" runs_on="ubuntu-22.04" {
|
||||||
|
step name="Show toolchain" run="rustc -Vv && cargo -V"
|
||||||
|
step name="Format" run="cargo fmt --check"
|
||||||
|
step name="Clippy" run="cargo clippy --workspace --all-targets --all-features -- -D warnings"
|
||||||
|
step name="Build" run="cargo build --workspace"
|
||||||
|
step name="Test" run="cargo test --workspace --all-targets"
|
||||||
|
}
|
||||||
|
|
||||||
|
// Illumos build (bhyve zone). Keep steps minimal; clippy/format may vary per toolchain.
|
||||||
|
job id="illumos-build" runs_on="illumos-latest" {
|
||||||
|
step name="Show toolchain" run="rustc -Vv && cargo -V"
|
||||||
|
step name="Build" run="cargo build --workspace"
|
||||||
|
step name="Test" run="cargo test --workspace --all-targets"
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue