Artifact 483132c0877a6440f70b1efd73251aa268255a85f78ac05d85cd62a7828ccd42:
- File
tools/ci/runner-start.sh
— part of check-in
[377cccd611]
at
2026-11-18 21:27:35
on branch ci
— Add CI: the full suite on every push, on a Mac runner
ci/test.yml runs make test-pic and, where an LLVM clang exists, a short fuzz pass. tools/ci installs and removes the zeitforge runner on the Mac mini as a LaunchAgent, and docs/ci.md covers setup and teardown. (user: dmestas, size: 607) [annotate] [blame] [check-ins using]
#!/bin/sh # Started by launchd on the CI Mac: runs zeitforge's runner for pi-c, one job # at a time. The worker token is read from a 0600 file, never from argv. set -eu dir="$HOME/pic-ci" [ -r "$dir/token" ] || { echo "pic-ci: no worker token at $dir/token" >&2; exit 1; } QUARRY_RUNNER_TOKEN=$(cat "$dir/token") export QUARRY_RUNNER_TOKEN # launchd starts with a bare PATH; jobs need clang, make, perl and zit. PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/.local/bin" export PATH exec "$dir/quarry-runner" --work "$dir/work" --max-tasks 1 https://zeitforge.app/r/dmestas/pi-c