# pic CI on the Mac mini runner (macOS arm64): the full suite on every landing
# (stacked rungs included) and on pushes to trunk, not on every branch push.
# Fuzzing runs briefly when an LLVM clang with libFuzzer is installed; Fil-C runs separately on hetzner-hel (tools/remote/run.sh).
on:
landing: {}
push:
branches: [trunk]
jobs:
test:
timeout-minutes: 45
steps:
- name: environment (limits differ under launchd)
run: |
id; echo "TMPDIR=$TMPDIR"; ulimit -a; launchctl limit 2>/dev/null || true
- name: suite (sanitizer and release builds)
run: make test-pic
- name: fuzz smoke (LLVM clang only)
run: |
if [ -x /opt/homebrew/opt/llvm/bin/clang ]; then
make fuzz-decode FUZZ_SECONDS=30 && make fuzz-http FUZZ_SECONDS=30 && make fuzz-chat FUZZ_SECONDS=30 && make fuzz-responses FUZZ_SECONDS=30
else
echo "fuzz: skipped, no LLVM clang with libFuzzer on this runner"
fi