mirror of
https://codeberg.org/Toasterson/solstice-ci.git
synced 2026-04-10 21:30:41 +00:00
- Add detection and usage of GNU `tar` for platforms where BSD `tar` is incompatible with required options. - Refactor `job.sh` to delegate all environment setup to newly introduced per-OS setup scripts. - Add initial support for workflow setups via `workflow.kdl`, running pre-defined setup scripts before executing workflow steps. - Integrate step-wise execution and logging for workflows, with structured NDJSON output for detailed traceability. - Increment orchestrator version to 0.1.16. Signed-off-by: Till Wegmueller <toasterson@gmail.com>
18 lines
614 B
Bash
Executable file
18 lines
614 B
Bash
Executable file
#!/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 -p workflow-runner --release || cargo build -p workflow-runner
|
|
log "done"
|
|
}
|
|
|
|
main "$@"
|