Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

add immediate SSH debug workflow for macOS M1 (no build step)

Louis Beaumont08d4e5e74879
diff --git a/.github/workflows/debug-macos-m1-ssh.yml b/.github/workflows/debug-macos-m1-ssh.yml
new file mode 100644
index 000000000..5e2cda74d
--- /dev/null
+++ b/.github/workflows/debug-macos-m1-ssh.yml
@@ -0,0 +1,52 @@
+name: SSH into macOS M1 (immediate tmate)
+
+on:
+ workflow_dispatch:
+
+jobs:
+ ssh-m1:
+ runs-on: macos-14
+ timeout-minutes: 120
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: System info
+ run: |
+ uname -a
+ sysctl -n machdep.cpu.brand_string
+ sw_vers
+
+ - name: Setup Bun
+ uses: oven-sh/setup-bun@v2
+ with:
+ bun-version: 1.2.2
+
+ - name: Setup Node
+ uses: actions/setup-node@v4
+ with:
+ node-version: 20
+
+ - name: Set up Rust
+ uses: dtolnay/rust-toolchain@stable
+ with:
+ toolchain: stable
+ targets: aarch64-apple-darwin
+
+ - name: Install dependencies
+ run: brew install ffmpeg wget
+
+ - name: Install frontend deps
+ working-directory: apps/screenpipe-app-tauri
+ run: bun install
+
+ - name: Run pre_build
+ env:
+ SKIP_SCREENPIPE_SETUP: true
+ working-directory: apps/screenpipe-app-tauri
+ run: bun ./scripts/pre_build.js
+
+ - name: SSH via tmate (build manually from here)
+ uses: mxschmitt/action-tmate@v3
+ with:
+ limit-access-to-actor: true
+ timeout-minutes: 110