Skip to content
pi-c Artifact [ee0f116138]
Login

Artifact [ee0f116138]

Artifact ee0f116138c1d04f5a3fb157c21c19a13329da40b2065b1e60b25ac1c4e68741:


# pic verified on macOS arm64: the complete -dev and -rel matrix nightly and on demand,
# reported but not required; ci/test.yml runs make test-pic-ci-changed on every landing.
on:
  schedule:
    - cron: "47 3 * * *"
  workflow_dispatch: {}
jobs:
  test:
    timeout-minutes: 90
    steps:
      - name: environment (limits differ under launchd)
        run: |
          id; echo "TMPDIR=$TMPDIR"; ulimit -a; launchctl limit 2>/dev/null || true
      - name: full suite (sanitizer and release builds)
        run: make test-pic
      - name: fuzz smoke (LLVM clang only, parallel)
        run: |
          if [ -x /opt/homebrew/opt/llvm/bin/clang ]; then
            make -j4 build/pic/fuzz/fuzz_decode build/pic/fuzz/fuzz_http build/pic/fuzz/fuzz_chat build/pic/fuzz/fuzz_responses
            pids=""
            for t in fuzz-decode fuzz-http fuzz-chat fuzz-responses; do
              make "$t" FUZZ_SECONDS=30 &
              pids="$pids $!"
            done
            rc=0
            for p in $pids; do
              wait "$p" || rc=1
            done
            [ "$rc" -eq 0 ]
          else
            echo "fuzz: skipped, no LLVM clang with libFuzzer on this runner"
          fi