Skip to content
RentCloudMac

How do you run a self-hosted GitHub Actions macOS runner on a rented Mac?

A self-hosted runner turns a rented Mac mini into your own macOS build machine for GitHub Actions: fixed monthly cost, no per-minute meter, your caches stay warm between jobs.

Updated , by the RentCloudMac team

Quick answer

Can a rented Mac mini be a GitHub Actions macOS runner?

Yes. RentCloudMac rents a whole Mac mini M4 from $92 a month that you register as a self-hosted GitHub Actions runner. GitHub does not bill minutes on self-hosted runners, so the Mac costs the same however many jobs run. You pay in Monero, Bitcoin or USDT, with no KYC.

In brief
  • Flat cost: the rental is monthly ($139 for Ship); self-hosted runner minutes are free on GitHub and do not reduce included usage.
  • Your machine: caches, DerivedData, CocoaPods and SwiftPM checkouts survive between jobs, unlike a fresh hosted image.
  • Setup: ./config.sh then ./svc.sh install, or the CI runner setup option done by a person.
  • Sizing: Ship for one runner, Matrix (64 GB) for several runners on one Mac.
  • Limit: one job per runner process; parallel jobs need more runners or more Macs.

Which RentCloudMac plan fits which runner setup?

Runner layouts per RentCloudMac plan, prices of December 2026
PlanHardwarePer monthSuggested runner layout
CompileM4 · 16 GB · 256 GB$92One runner, unit tests and archive jobs, small app
ShipM4 · 24 GB · 512 GB$139One runner with UI tests on one or two Simulators
ReleaseM4 · 32 GB · 1 TB$189One runner plus several Xcode versions installed
PipelineM4 Pro · 24 GB · 512 GB$249One runner where clean builds dominate
MatrixM4 Pro · 64 GB · 1 TB$299Two or three runners side by side, parallel Simulator tests

Layouts are starting points, not measured results: RentCloudMac publishes no build-time benchmark: it has not measured one on its own Macs yet, and build times depend on the project.

Why use a self-hosted runner instead of GitHub-hosted macOS runners?

A self-hosted runner trades a per-minute bill for a fixed monthly rent and a machine that keeps its state. GitHub bills its own macOS runners per minute in private repositories, at a rate several times the Linux rate, and every job starts from a clean image that must download dependencies again. On a rented Mac the runner reuses the same disk: SwiftPM packages, CocoaPods specs, Homebrew bottles and DerivedData are already there for the next job.

GitHub's billing documentation lists self-hosted runners among the usage that stays free and does not reduce included compute. The cost of a busy month and a quiet month is the same $139 on Ship.

How do you register the runner?

Open the repository or organisation settings on GitHub, add a new self-hosted runner for macOS ARM64, and run the commands it shows on the Mac over SSH. GitHub prints a download command with the current runner version and a one-time registration token; the token expires after one hour, so run it soon after copying it.

On the rented Mac, over SSH
mkdir actions-runner && cd actions-runner
# paste the curl and tar lines shown by GitHub (osx-arm64 package)
./config.sh --url https://github.com/OWNER/REPO --token TOKEN \
  --name mac-mini-ams --labels xcode,m4 --unattended
./svc.sh install
./svc.sh start
./svc.sh status
In the workflow file
jobs:
  build:
    runs-on: [self-hosted, macOS, ARM64, xcode]
    steps:
      - uses: actions/checkout@v4
      - run: xcodebuild -scheme App -destination 'platform=iOS Simulator,name=iPhone 16' test

Does the runner survive a reboot?

Yes, once installed with svc.sh, the runner starts again as a launchd service of the user who installed it. On macOS the script writes a LaunchAgent, so it runs in that user's session; jobs that drive the Simulator or Safari UI need that session logged in, which is the normal state of a delivered Mac. Check ./svc.sh status after any reboot you request from the dashboard, and keep ~/actions-runner/_diag for logs when a job hangs.

The step-by-step version, with Xcode, Simulator runtimes and keychain setup, is in the guide how to set up a GitHub Actions runner on a Mac.

Is a self-hosted runner safe for public repositories?

No: keep self-hosted runners on private repositories. GitHub itself advises against them on public repositories, because a pull request from a fork can run its own code on your Mac. On a private repository, limit the runner to the repositories that need it with runner groups, and never store a signing certificate in a workflow log. Signing assets belong in the keychain of the Mac or in encrypted secrets, as shown in cloud Mac for iOS development.

How much does a month of macOS CI cost on RentCloudMac?

Ship costs $139 a month, or $125.10 a month on a 12-month rental, with no charge per job. The CI pack bundles Ship for 12 months, the CI runner setup, the Xcode and Fastlane setup and priority support for $1,783.20. Options are never ticked in advance: Xcode and Fastlane setup $79 once, CI runner setup $59 once, Priority support $12 a month, Managed Mac +40% of the plan; none is ticked in advance.

RentCloudMac compared the same Ship size across sellers on 3 December 2026: AWS EC2 Mac listed $897.90 for 730 hours of an M4 Dedicated Host, MacStadium $249.00 a month, and none of the 7 sellers took crypto. See the best self-hosted macOS CI ranking and the pricing page.

Questions about GitHub Actions runners on a cloud Mac

Can several runners share one Mac?

Yes. Install each runner in its own folder with its own name and service. Each runner takes one job at a time, so three runners give three parallel jobs if memory allows; Matrix with 64 GB is the plan made for that.

Does GitLab work too?

Yes. GitLab Runner installs on macOS with Homebrew (brew install gitlab-runner) and registers with gitlab-runner register. The CI runner setup option covers a GitHub Actions or GitLab runner.

Will the runner keep my Xcode version fixed?

Yes, nothing updates Xcode on the Mac unless you or the Managed Mac option do it. Use xcodes to install several versions and sudo xcode-select -s in a job to pick one.

What happens to the runner when the rental ends?

When a rental ends and is not renewed, the Mac is kept 3 days, then its disk is erased and macOS reinstalled before anyone else rents it. Remove the runner from GitHub settings before the end, or it stays listed as offline.

Do I need an Apple Account on the runner?

Not for building and testing. Uploading to App Store Connect works with an API key, so no personal Apple Account has to be signed in on the Mac.

Verdict
  • A rented Mac mini is the simplest way to get unmetered macOS jobs on GitHub Actions: one flat rent, warm caches, full control of Xcode versions.
  • Start with Ship at $139; move to Matrix when you need several runners on one machine.
  • Keep the runner on private repositories and register it as a service with svc.sh.
  • Prefer GitHub-hosted runners only if your macOS usage is a few minutes a month.

Put your macOS jobs on your own Mac mini

Ship with the CI runner setup option: a person registers the runner and runs one test job.

Sources (5)
  1. GitHub Actions billing — GitHub (read 2026-12-03)
  2. Adding self-hosted runners — GitHub
  3. Configuring the self-hosted runner application as a service — GitHub
  4. AWS EC2 Mac instances aws.amazon.com/ec2/instance-types/mac — Amazon Web Services (read 2026-11-17)
  5. MacStadium pricing macstadium.com/pricing — MacStadium (read 2026-12-03)

Read next

from $92 a month

Rent a Mac