Skip to content

ci: migrate to self-hosted runners with sccache - #32

Open
Frando wants to merge 1 commit into
mainfrom
chore/ci-selfhosted
Open

ci: migrate to self-hosted runners with sccache#32
Frando wants to merge 1 commit into
mainfrom
chore/ci-selfhosted

Conversation

@Frando

@Frando Frando commented Mar 30, 2026

Copy link
Copy Markdown
Member

GitHub-hosted runners have long queue times and limited caching. Self-hosted runners with sccache give us faster builds and persistent compilation caches across runs.

Changes to both ci.yml and release.yml:

  • Replace all ubuntu-latest / macos-latest / macos-14 with self-hosted runner labels ([self-hosted, linux, X64] / [self-hosted, macOS, ARM64])
  • Replace Swatinem/rust-cache with mozilla-actions/sccache-action@v0.0.9 and set RUSTC_WRAPPER: "sccache" globally
  • Remove brew install on macOS (deps pre-installed on self-hosted runners)
  • Drop linux-aarch64 release target (no self-hosted ARM Linux runner available)

@Frando Frando mentioned this pull request Mar 30, 2026
@Frando
Frando force-pushed the chore/ci-selfhosted branch from 92fdee0 to df6f4eb Compare March 30, 2026 14:04
GitHub-hosted runners have long queue times and limited caching. Self-hosted
runners with sccache give us faster builds and persistent compilation caches
across runs.

Changes to both ci.yml and release.yml:
- Replace all `ubuntu-latest` / `macos-latest` / `macos-14` with self-hosted
  runner labels (`[self-hosted, linux, X64]` / `[self-hosted, macOS, ARM64]`)
- Replace `Swatinem/rust-cache` with `mozilla-actions/sccache-action@v0.0.9`
  and set `RUSTC_WRAPPER: "sccache"` globally
- Expand Linux system deps to cover the full build surface (libx264, libopus,
  X11/xkbcommon headers, clang/llvm, ffmpeg, etc.)
- Remove `brew install` on macOS (deps pre-installed on self-hosted runners)
- Drop linux-aarch64 release target (no self-hosted ARM Linux runner available)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Frando
Frando force-pushed the chore/ci-selfhosted branch from f638571 to d2f970f Compare April 1, 2026 11:41
@Frando
Frando changed the base branch from dev to main April 1, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant