2025-10-26 16:37:16 +01:00
|
|
|
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" {
|
2025-11-18 15:17:03 +01:00
|
|
|
setup path=".solstice/setup-linux.sh"
|
2025-10-26 16:37:16 +01:00
|
|
|
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"
|
2025-11-18 15:17:03 +01:00
|
|
|
// Legacy script hook (runs after all other tests)
|
|
|
|
|
step name="Legacy job.sh" run=".solstice/job.sh"
|
2025-10-26 16:37:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Illumos build (bhyve zone). Keep steps minimal; clippy/format may vary per toolchain.
|
|
|
|
|
job id="illumos-build" runs_on="illumos-latest" {
|
2025-11-18 15:17:03 +01:00
|
|
|
setup path=".solstice/setup-illumos.sh"
|
2025-10-26 16:37:16 +01:00
|
|
|
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"
|
2025-11-18 15:17:03 +01:00
|
|
|
// Legacy script hook (runs after all other tests)
|
|
|
|
|
step name="Legacy job.sh" run=".solstice/job.sh"
|
2025-10-26 16:37:16 +01:00
|
|
|
}
|
|
|
|
|
}
|