Skip to content
pi-c CI
Login

CI

ci/test.yml runs on every push and landing: make test-pic (sanitizer and release builds, every suite), then a 30-second fuzz pass per target when the runner has an LLVM clang. Fil-C runs separately on hetzner-hel (tools/remote/run.sh … pic). Results show on each check-in's page at zeitforge; trunk's required check makes landings wait for a pass.

The runner

One zeitforge runner on the Mac mini (macOS arm64), reached as mac-mini over SSH, running as dmestas under a LaunchAgent (app.zeitforge.pic-ci-runner), one job at a time. macOS runners cannot isolate jobs per user, so a job can read that account's files; the user chose this over a dedicated account (2026-11-18).

Files on the mini, all under ~/pic-ci (0700): quarry-runner (from https://zeitforge.app/runner/, verified against its SHA256SUMS), token (the worker token, 0600), runner-start.sh, work/, runner.log; plus ~/Library/LaunchAgents/app.zeitforge.pic-ci-runner.plist.

Set up:

  1. Fetch and verify the runner into ~/pic-ci/quarry-runner.
  2. Get a worker token without the browser: quarry pickup new here, a sign-off the user approves at zeitforge, then quarry pickup collect https://zeitforge.app/r/dmestas/pi-c --print-env; copy the value into the mini's ~/pic-ci/token over SSH stdin, never argv.
  3. sh tools/ci/mac-runner.sh install mac-mini; status shows it polling.

Tear down:

  1. sh tools/ci/mac-runner.sh uninstall mac-mini (unloads the agent, deletes ~/pic-ci and the plist, and verifies both are gone).
  2. Retire the worker token: POST https://zeitforge.app/api/v1/r/pi-c/ci/worker-tokens/retire with the token as the credential, or revoke it in the repository's settings.