mirror of
https://codeberg.org/Toasterson/ips.git
synced 2026-04-10 13:20:42 +00:00
- Introduced `.solstice/workflow.kdl` for defining Solstice CI workflows, including Linux and illumos builds. - Added `setup-linux.sh` and `setup-illumos.sh` scripts for per-OS environment preparation. - Implemented `job.sh` as a legacy script hook for additional build steps.
18 lines
576 B
Bash
18 lines
576 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
# Solstice CI legacy job script.
|
|
# NOTE: All environment and package setup is handled by per-OS setup scripts
|
|
# referenced in .solstice/workflow.kdl and executed by the workflow runner.
|
|
# This script intentionally contains no setup logic.
|
|
|
|
log() { printf "[job] %s\n" "$*" >&2; }
|
|
|
|
main() {
|
|
# Keep a minimal representative build as a legacy hook. The workflow steps
|
|
# already perform fmt/clippy/build/test; this is safe to remove later.
|
|
log "building workflow-runner"
|
|
cargo build --release || cargo build
|
|
log "done"
|
|
}
|
|
|
|
main "$@"
|