swactor/.ci.yml
Zachery Aaron Shores-Chmielewski 0d22753fbc fix: resolve pipe-buffer deadlock and add runner observability
Read stdout and stderr concurrently (background thread for stderr)
to prevent the classic deadlock where cargo blocks writing stderr
while the parent blocks reading stdout. Timeout now actually kills
the child process via kill -9. Added eprintln logging for all job
lifecycle events so failures are visible in local-runner.log.

Also switches .ci.yml to use $HOME instead of ~ for shell portability.

Authored by Claude, lovingly guided by Zachery Aaron Shores-Chmielewski
2026-02-16 14:52:24 +07:00

16 lines
473 B
YAML

pipelines:
ci:
triggers:
- event: push
branches: ["*"]
jobs:
check:
run: echo "HOME=$HOME PATH=$PATH" && . "$HOME/.cargo/env" && which cargo && cargo check --workspace
timeout: 600
clippy:
run: . "$HOME/.cargo/env" && cargo clippy --workspace --all-targets -- -D warnings
timeout: 600
test:
needs: [check]
run: . "$HOME/.cargo/env" && cargo xtask test essential
timeout: 900