Title: Run a native macOS runner on the Mac hosts for jobs that need macOS · Issue #202 · ExaDev/github-runner · GitHub
Open Graph Title: Run a native macOS runner on the Mac hosts for jobs that need macOS · Issue #202 · ExaDev/github-runner
X Title: Run a native macOS runner on the Mac hosts for jobs that need macOS · Issue #202 · ExaDev/github-runner
Description: The runner pods run as Linux containers inside a virtual machine on each Mac host (Colima and k3s), so a job that needs macOS itself, such as Xcode, the Metal toolchain, an iOS or macOS target, or the system bash 3.2, cannot run on the f...
Open Graph Description: The runner pods run as Linux containers inside a virtual machine on each Mac host (Colima and k3s), so a job that needs macOS itself, such as Xcode, the Metal toolchain, an iOS or macOS target, or ...
X Description: The runner pods run as Linux containers inside a virtual machine on each Mac host (Colima and k3s), so a job that needs macOS itself, such as Xcode, the Metal toolchain, an iOS or macOS target, or ...
Opengraph URL: https://github.com/ExaDev/github-runner/issues/202
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Run a native macOS runner on the Mac hosts for jobs that need macOS","articleBody":"The runner pods run as Linux containers inside a virtual machine on each Mac host (Colima and k3s), so a job that needs macOS itself, such as Xcode, the Metal toolchain, an iOS or macOS target, or the system bash 3.2, cannot run on the fleet. Such jobs go to a paid hosted macOS pool, and the fleet's Macs, which are Apple silicon with the toolchains, sit beside them unused for that work. The `github_runner_macos_host` role installs only the host baseline.\n\nChange: a role that installs the GitHub Actions runner for macOS ARM64 natively on a Mac host, as a launchd daemon under a dedicated unprivileged user, registered with the labels `self-hosted`, `macOS`, `ARM64` and an ExaDev label, re-registering with `--ephemeral` after each job (GitHub recommends ephemeral runners for autoscaling, and says nothing provides a clean environment for a job unless the automation does; ARM64 support on macOS is labelled public preview in the [runner documentation](https://docs.github.com/en/actions/reference/runners/self-hosted-runners) ([Wayback](https://web.archive.org/web/20261023075839/https://docs.github.com/en/actions/reference/runners/self-hosted-runners)), read 2026-11-03). Each job gets a fresh work directory removed afterwards, the number of runner instances on a host is a setting sized to its cores, and the toolchain a macOS job needs (Xcode with its Metal toolchain, checked with `xcodebuild -version` and `xcrun metal`) is a documented host prerequisite the role verifies and does not install. The runner-selection step (`runner-fallback-action`, fleet first and a hosted pool as fallback) gains a macOS label so a stopped or busy runner falls back instead of queueing.\n\nIsolation: macOS has no container boundary here, so the dedicated user and the per-job directory are the only boundary. Use it for private repositories whose workflows the owner controls, and never for a public repository or a fork pull request.\n\nValidation: a job with `runs-on: [self-hosted, macOS, ARM64]` completes a build that needs Xcode and Metal; a second job starts with none of the first job's files; with the runner stopped the selection step picks the hosted pool; the role is idempotent on a second run.\n\nRelated: the macOS host role, and the cluster role that starts the container runtime on the same hosts.\n","author":{"url":"https://github.com/Mearman","@type":"Person","name":"Mearman"},"datePublished":"2026-11-03T17:27:55Z","url":"https://github.com/ExaDev/github-runner/issues/202"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9249d359-0295-6651-9d54-bbf128c49fa3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D56C:3EB463:4A04C8:647219:6B00704D |
| html-safe-nonce | a110eddc5922276451ba546ccaffe52a6236371cbae7cc2ab991b2650fc36093 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTZDOjNFQjQ2Mzo0QTA0Qzg6NjQ3MjE5OjZCMDA3MDREIiwidmlzaXRvcl9pZCI6IjQ3NzY0Mzc2NzU3NTIxOTAwMjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 238098d5a488053cc2f7b78868037136320800343a9b2b39b63cb74b04c87f81 |
| hovercard-subject-tag | issue:6187798104 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ExaDev/github-runner/202/issue_layout |
| twitter:image | https://opengraph.githubassets.com/509e864c4a026e35de77cce44c8295349b610119552790725a5e0f0c1ff29f5b/ExaDev/github-runner/issues/202 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/509e864c4a026e35de77cce44c8295349b610119552790725a5e0f0c1ff29f5b/ExaDev/github-runner/issues/202 |
| og:image:alt | The runner pods run as Linux containers inside a virtual machine on each Mac host (Colima and k3s), so a job that needs macOS itself, such as Xcode, the Metal toolchain, an iOS or macOS target, or ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Mearman |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa |
| turbo-cache-control | no-preview |
| go-import | github.com/ExaDev/github-runner git https://github.com/ExaDev/github-runner.git |
| octolytics-dimension-user_id | 140118018 |
| octolytics-dimension-user_login | ExaDev |
| octolytics-dimension-repository_id | 1388126104 |
| octolytics-dimension-repository_nwo | ExaDev/github-runner |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1388126104 |
| octolytics-dimension-repository_network_root_nwo | ExaDev/github-runner |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width