Quick answer
How do you set up a GitHub Actions runner on a Mac?
Copy the download and ./config.sh --url … --token … commands from Settings, Actions, Runners, New self-hosted runner, run them on the Mac, then ./svc.sh install and ./svc.sh start. On a RentCloudMac Ship at $139 a month, paid in Monero or USDT, the runner is free of GitHub minutes.
In brief
- Self-hosted runners do not use GitHub's included minutes: GitHub lists them as free usage.
- Commands come from GitHub: the New self-hosted runner page prints the exact version, checksum and token for macOS ARM64.
- Run it as a service:
./svc.shinstalls a LaunchAgent that starts with your user session. - Labels such as
self-hosted,macOS,ARM64plus your own (xcode-26) route jobs to the Mac. - Or let the team do it: the CI runner setup option registers it for you; the CI pack bundles it with Ship for 12 months for $1,783.20.
Which steps register the runner?
Prepare the Mac
Install Xcode, accept its licence and add the iOS platform, so the first job does not fail on tooling.
Open the runner page
In the repository or organisation, go to Settings, Actions, Runners, New self-hosted runner, and choose macOS and ARM64.
Download and verify
Run the mkdir, curl and shasum lines exactly as GitHub prints them; they carry the current version.
Configure
Run ./config.sh with the URL and the one-hour token from the page; give a name and extra labels.
Install as a service
Run ./svc.sh install then ./svc.sh start; ./svc.sh status confirms it is listening for jobs.
Target it in a workflow
Set runs-on to your labels and push a commit to watch the job land on the Mac.
mkdir actions-runner && cd actions-runner
curl -o actions-runner-osx-arm64-VERSION.tar.gz -L \
https://github.com/actions/runner/releases/download/vVERSION/actions-runner-osx-arm64-VERSION.tar.gz
tar xzf ./actions-runner-osx-arm64-VERSION.tar.gz
./config.sh --url https://github.com/OWNER/REPO --token TOKEN \
--name cloudmac-01 --labels xcode-26 --unattended
./svc.sh install
./svc.sh start
./svc.sh statusname: iOS
on: [push]
jobs:
build:
runs-on: [self-hosted, macOS, ARM64, xcode-26]
steps:
- uses: actions/checkout@v4
- run: xcodebuild -scheme MyApp -destination 'platform=iOS Simulator,name=iPhone 17' testWhy does the runner need a logged-in session on macOS?
Because svc.sh installs a LaunchAgent, which runs inside a user session, and the Simulator and UI tests also need that session. After a reboot, the runner starts when the user logs in. On a remote Mac, turn on automatic login for the runner's user in System Settings, Users and Groups (it is unavailable while FileVault is on), or log in once through Screen Sharing after each reboot.
A LaunchDaemon would start without a login, but it cannot drive the Simulator's window server reliably, so most iOS teams keep the agent. The background on this choice is in GitHub Actions macOS runner.
How does a self-hosted Mac runner compare with a GitHub-hosted one?
| Point | Self-hosted on RentCloudMac | GitHub-hosted macOS |
|---|---|---|
| Billing | Monthly rent, $139 for Ship | Per minute in private repositories |
| GitHub minutes used | None (free usage) | Yes, from the included allowance |
| Machine state between jobs | Kept: caches, DerivedData, installed tools | Fresh image each job |
| Xcode versions | Whatever you install | Those on GitHub's image |
| Maintenance | Yours (or the Managed Mac option) | GitHub's |
| Payment | Crypto, no KYC | Card or invoice through GitHub |
Prices checked on
How do you keep a persistent runner clean?
Clean the workspace, cap DerivedData and never run untrusted pull requests on it. A persistent runner keeps files between jobs, which makes builds incremental but also lets one job affect the next. Use actions/checkout with clean: true, point DerivedData into the workspace with -derivedDataPath, and delete it on a schedule. GitHub advises against self-hosted runners on public repositories, because anyone opening a pull request could run code on your Mac.
Hardening steps are in how to secure a cloud Mac.
Which plan fits one runner, and which fits several?
Ship runs one runner for a small team; Matrix (M4 Pro · 64 GB · 1 TB) runs several runners side by side. Each runner instance needs its own folder and its own config.sh. RentCloudMac compared 7 sellers on 3 December 2026: none accepted crypto, so a self-hosted runner paid in Monero is only possible here. The ranking of CI options is in best self-hosted macOS CI.
What questions come up about Mac runners?
Are self-hosted runners really free on GitHub?
GitHub's billing page lists self-hosted runners among the usage that stays free and does not reduce included minutes. You pay only for the Mac.
Does the runner need an open port?
No. It connects out to GitHub over HTTPS and long-polls for jobs, so the Mac's firewall can block all inbound traffic except SSH.
Can I use GitLab instead?
Yes. GitLab Runner installs with Homebrew and registers with gitlab-runner register; the CI runner setup option covers GitHub or GitLab.
How do I update the runner?
The runner updates itself by default when GitHub publishes a new version. Keep Xcode updates manual so a release build is never surprised.
What happens if the Mac reboots?
The LaunchAgent starts again when the runner's user logs in, which is why automatic login matters on a remote Mac.
Verdict
- Copy GitHub's own commands, run
config.sh, thensvc.sh installandstart: the runner is live in minutes. - Turn on automatic login so the agent and the Simulator come back after a reboot.
- Ship is the usual runner Mac; the CI pack adds setup and priority support. See pricing.
Get the CI pack
Ship (M4, 24 GB, 512 GB) for 12 months, CI runner setup, Xcode and Fastlane setup, priority support for 12 months: $1,783.20, paid in crypto.
- Sold by RentCloudMac LLC, New Mexico, USA
- Mac ready within 24 hours, prepared by a person
- No KYC, no email required
- Lost days credited back to the balance
Sources (3)
- Adding self-hosted runners — GitHub
- Configuring the self-hosted runner application as a service — GitHub
- GitHub Actions billing — GitHub (read 2026-12-03)
Read next
- Cloud Mac mini pricesRentCloudMac rents a whole Mac mini M4 from $92 a month, 10% off on 12 months, paid in Bitcoin, USDT or Monero, no KYC. Options and CI pack.
- GitHub Actions macOS runnerRun a self-hosted GitHub Actions macOS runner on a whole Mac mini M4 from $92 a month: a fixed cost instead of minutes, paid in Monero or USDT.
- Best self-hosted macOS CIBest host for a self-hosted macOS CI runner: a 24 GB Mac mini M4 for $139 a month, runner setup option, paid in Monero, no KYC.
- Install Xcode remotelyInstall Xcode over SSH with xcodes, accept the licence and add iOS runtimes on a rented Mac mini from $92/month, paid in Monero.
- Secure a cloud MacHarden a rented Mac mini: change the temporary password, keys only for SSH, firewall on, updates and signing keys. Macs from $92/month.