diff --git a/.github/workflows/intel-x64-verify.yml b/.github/workflows/intel-x64-verify.yml index ab507fc3..313f58a6 100644 --- a/.github/workflows/intel-x64-verify.yml +++ b/.github/workflows/intel-x64-verify.yml @@ -75,7 +75,8 @@ jobs: # a real invocation exercises the JIT/network paths; a clean auth # error (not a SIGILL/crash) is the pass condition set +e - ANTHROPIC_API_KEY=sk-ant-invalid timeout 90 "$CLI" -p "hi" --model claude-haiku-4-5-20251001 > /tmp/cli-run.out 2>&1 + # macOS has no `timeout`; perl alarm is the portable equivalent + ANTHROPIC_API_KEY=sk-ant-invalid perl -e 'alarm 90; exec @ARGV' -- "$CLI" -p "hi" --model claude-haiku-4-5-20251001 > /tmp/cli-run.out 2>&1 CODE=$? set -e cat /tmp/cli-run.out