Files
rdbms-playground/.gitea/workflows/macos-probe.yaml
T
claude@clouddev1 2721bd8d04
ci / gate (push) Successful in 3m1s
ci: macOS (Tart) runner probe — throwaway diagnostic
Manual-dispatch probe on runs-on macos:host to confirm the runner picks up
jobs and report arch / macOS version / Xcode SDK / toolchains (nix, rustup,
cargo) / git+node, before wiring the macOS release leg. Delete once done.
2026-06-14 21:11:28 +00:00

39 lines
1.8 KiB
YAML

# THROWAWAY DIAGNOSTIC for the macOS (Tart) runner — delete once the macOS
# release leg is wired. Manual dispatch only: the Mac isn't always on, so this
# runs when you bring it up and trigger it from the Actions UI.
#
# Answers: does the `macos:host` runner pick up jobs, does it run on the host,
# what arch + macOS version, is the Xcode SDK present (needed to link arboard's
# AppKit), and which build toolchain is available (nix? rustup? bare cargo?) —
# plus git/node for actions/checkout.
name: macos-probe
on: [workflow_dispatch]
jobs:
probe:
runs-on: "macos:host"
steps:
- name: identity, SDK, toolchains
run: |
echo "=== uname ==="; uname -a; echo "arch: $(uname -m)"
echo "=== macOS version ==="; sw_vers 2>&1 || echo "(sw_vers?)"
echo "=== host or container? ==="
if [ -f /.dockerenv ]; then echo "/.dockerenv PRESENT -> container"; else echo "host (no /.dockerenv)"; fi
echo "=== identity ==="; whoami; id
echo ""
echo "=== Xcode CLT / SDK (needed to link AppKit) ==="
xcode-select -p 2>&1 || echo "(no CLT)"
xcrun --show-sdk-path 2>&1 || echo "(no sdk)"
clang --version 2>&1 | head -1 || echo "(no clang)"
echo ""
echo "=== build toolchains on PATH ==="
echo "nix: $(command -v nix || echo NO)"
echo "rustup: $(command -v rustup || echo NO)"
echo "cargo: $(command -v cargo || echo NO)"
echo "rustc: $(command -v rustc || echo NO)"
rustc --version 2>/dev/null || true
echo ""
echo "=== git / node (for actions/checkout) ==="
echo "git: $(command -v git || echo NO) $(git --version 2>/dev/null)"
echo "node: $(command -v node || echo NO) $(node --version 2>/dev/null)"