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

chore: move macOS + Windows benchmarks to self-hosted runners

Louis Beaumont6cfccce12094
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index 96687068a..c6349369f 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -16,14 +16,15 @@ env:
jobs:
apple_ocr_benchmark:
name: Run Apple OCR benchmark
- runs-on: macos-latest
+ runs-on: [self-hosted, macos-test]
+ if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install dependencies
run: |
- brew install ffmpeg
+ brew install ffmpeg || true # may already be installed on self-hosted
- name: Run OCR benchmarks
env:
@@ -61,7 +62,8 @@ jobs:
windows_ocr_benchmark:
name: Run Windows OCR benchmark
- runs-on: windows-latest
+ runs-on: [self-hosted, windows-desktop-test]
+ if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable