Skip to content

ci: move Linux jobs to the self-hosted sccache runner - #4045

Open
amitksingh1490 wants to merge 6 commits into
mainfrom
ci/sccache-runners
Open

amitksingh1490 wants to merge 6 commits into
mainfrom
ci/sccache-runners

Conversation

@amitksingh1490

@amitksingh1490 amitksingh1490 commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Moves Linux GitHub-hosted jobs to the self-hosted, autoscaled sccache pool (Cloud Run; image is actions-runner plus build-essential and sccache, runs as root, no Docker daemon).

runs-on is the single label sccache as a block list, the same form forgecode-sdk uses. No self-hosted: the pool's autoscaler sets noDefaultLabels and only starts an instance when every requested label is in its list.

The pool is registered org-wide since forge-infra #71 and #74. All moved jobs ran green on it in this PR.

Moved (via crates/forge_ci, regenerated with cargo test -p forge_ci)

  • ci: build, zsh_rprompt_perf (+ apt-get install zsh; the image has none), draft_release, draft_release_pr
  • build_release / build_release_pr / release.yml matrix: only the native x86_64-unknown-linux-gnu entry (os: sccache)
  • autofix lint and build install pkg-config libssl-dev first (the image has no OpenSSL headers; apt-get update added before libsqlite3-dev), release-drafter, stale, homebrew_release
  • labels, both bounty jobs, npm_release: added actions/setup-node (image has no Node)
  • New helper steps/runner.rs (SCCACHE_RUNNER, sccache_runner(), setup_node())

Kept on GitHub-hosted

  • cross: "true" matrix entries (x86_64/aarch64 musl, aarch64 gnu, android): cross needs Docker
  • macOS / Windows matrix entries

@amitksingh1490 amitksingh1490 changed the title ci: move Linux jobs to the self-hosted sccache runner (do not merge yet) ci: move Linux jobs to the self-hosted sccache runner Oct 24, 2026
@github-actions

Copy link
Copy Markdown

Action required: PR inactive for 5 days.
Status update or closure in 10 days.

@github-actions github-actions Bot added the state: inactive No current action needed/possible; issue fixed, out of scope, or superseded. label Oct 29, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state: inactive No current action needed/possible; issue fixed, out of scope, or superseded.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant