Skip to content
Ask for a Budget
TechnologyFebruary 23, 20265 min readUpdated on November 11, 2026

macOS runners in CI: Intel vs Apple Silicon, costs and pitfalls

When you need a macOS runner (Xcode, codesign, notarization), what a minute costs on GitHub and GitLab, which labels are Intel or Apple Silicon, and isolation.

macOS runners in CI: Intel vs Apple Silicon, costs and pitfalls
Índice do artigo
faltam 5 min de leitura

The macOS runner is usually the most expensive (in time and money) and the most sensitive (environment) part of a CI/CD setup.

If you need Xcode, codesign, notarization or macOS-specific tests, there are not many "shortcuts": you need macOS at some point in the pipeline.

This post is part of the series:

CI/CD series map

1) When you really need a macOS runner

Use a macOS runner only when necessary, for example:

  • iOS/macOS builds with Xcode
  • codesign and notarization
  • tests that depend on macOS frameworks

Avoid:

  • running lint, general unit tests or docker build on macOS
  • turning the macOS runner into the "default" runner

2) GitHub Actions: macos-latest, Intel and ARM

In GitHub Actions, runs-on defines the runner type.

The important detail: there are Intel and Apple Silicon (ARM64) variants, and the label you write decides which one gets the job. In the official hosted runners reference, checked on November 11, 2026, the split is as follows:

Label in runs-onArchitectureStandard machine
macos-latest, macos-15, macos-26, xcode-27arm64 (M1)3 vCPUs, 7 GB of RAM
macos-15-intel, macos-26-intelIntel (x64)4 vCPUs, 14 GB of RAM

In other words: macos-latest is Apple Silicon today. Anyone who still depends on Intel needs to request the -intel label explicitly. The table changes as GitHub launches and retires images, so check the page before pinning a label.

The architecture affects:

  • build time
  • compatibility of native dependencies and community actions (the documentation warns that not all of them are compatible with arm64)
  • caching (caches do not carry over well between architectures)
  • signing for on-device testing: arm64 runners do not have a fixed UDID, because Apple does not offer that feature. Intel runners have a static UDID, which can be registered in the Apple Developer account when the flow requires it.

Another documented limitation: arm64 macOS runners do not support nested virtualization, so you cannot run another VM inside the job.

Practical tips:

  • include runner.arch in the cache key
  • write the version label (macos-15, macos-26) instead of macos-latest when the build depends on a specific Xcode version, so you are not caught by surprise when latest moves forward
  • split workflows by architecture when needed

3) What a macOS minute costs

The title promises costs, so here are the official numbers (tables checked on November 11, 2026).

GitHub Actions. In public repositories, standard hosted runners are still free and unlimited. In private repositories, minutes are deducted from a monthly dollar balance included in the plan and, once the balance runs out, billed separately:

Hosted runner (private repository)Price per minute (USD)
Linux 2 cores (x64)0.006
Windows 2 cores (x64)0.010
macOS 3 or 4 cores (M1 or Intel)0.062
macOS 12 cores (larger runner, Intel)0.077
macOS 5 cores M2 Pro (larger runner)0.102

A standard macOS minute costs about ten times more than a Linux minute. A 10-minute job costs US$ 0.06 on Linux and US$ 0.62 on macOS. GitHub rounds each job up to the next whole minute.

The included balance also runs out fast: the Free plan includes US$ 12 per month and Team, US$ 18. Spent only on standard macOS, that comes to roughly 190 and 290 minutes per month, respectively. Larger runners (the last two rows) only exist on the Team and Enterprise Cloud plans and are billed even in public repositories.

Self-hosted runners are not billed by GitHub and do not consume the included balance. The cost becomes something else: the Mac, power, network and the hours of whoever keeps Xcode, certificates and updates up to date.

GitLab. GitLab.com's hosted macOS runners are still in beta and only exist for the Premium and Ultimate plans (and open source programs). Usage is measured in compute minutes multiplied by a cost factor:

Hosted runner on GitLab.comCost factor
Linux x86-64 small (default)1
macOS M1 medium (saas-macos-medium-m1)6 (beta)
macOS M2 Pro large (saas-macos-large-m2pro)12 (beta)

A 10-minute job on M1 medium consumes 60 minutes of the group's quota. Both machine types are Apple Silicon; to build for an x86-64 target, the documentation says to emulate with Rosetta 2. The documentation also warns that machine supply is limited, so the job may wait in the queue.

How to decide between hosted and a dedicated Mac. Add up the macOS minutes of a typical month and multiply by the rate (or by the cost factor, on GitLab). If the number is small and irregular, hosted is cheaper and requires no maintenance. If the team runs iOS builds several times a day, a dedicated Mac as a self-hosted runner tends to pay off, as long as someone takes on the maintenance and isolation described in the next section. For planning this kind of machine, see the post on dedicated runners.

4) GitLab Runner on macOS: watch the executor and security

For GitLab Runner installed on your own Mac (Intel or Apple Silicon, each with its own binary), the official documentation recommends the shell executor for iOS and macOS builds.

This means jobs run directly on the host.

Practical recommendation for small teams:

  • treat the macOS runner as dedicated and isolated
  • limit which projects can use it
  • document what runs there (Xcode, certificates, dependencies)

5) Performance: where to optimize first

What usually brings the biggest gains:

  • reducing the tasks that run on macOS (keep only the essentials); each minute removed from there is worth about ten Linux minutes on GitHub
  • dependency caching (with well-designed keys)
  • parallelizing tests outside macOS when possible

What brings smaller gains (but helps):

  • caching DerivedData with a strategy (careful not to contaminate it)
  • pre-installing tools to reduce setup

Final checklist

  • The macOS runner only runs jobs that really need macOS.
  • The architecture (Intel vs ARM) is explicit in runs-on (for example macos-15 or macos-15-intel) and in the cache keys.
  • Monthly spend on macOS minutes has been estimated and compared with the cost of a dedicated Mac.
  • The macOS runner is treated as dedicated/isolated.
  • There is a strategy for handling certificates and secrets securely.
  • The pipeline is observable (queue vs execution time, and variation).

References

Also read

Local LLM for law: running models on a Mac with Apple SiliconDedicated runner: when it pays off and how to plan it in a small teamWhat is a web app and what are its benefits?
Previous post
Dedicated runner: when it pays off and how to plan it in a small team
Next post
Recurring costs clients must plan for (so an app does not die after launch)
Newsletter

One email a month, no noise

What we learn shipping custom software and applied AI.

Related articles

Local LLM for law: running models on a Mac with Apple Silicon15 min · Technology
Dedicated runner: when it pays off and how to plan it in a small team2 min · Technology
What is a web app and what are its benefits?9 min · Technology
Definitive Low-code Guide: What It Is and When to Use It9 min · Technology
How does a software house work?8 min · Technology

Accelerate your business with X-Apps

Ask for a Budget
X-Apps is an IT provider partner and advised by
Gartner
Receive our e-mails
News on software and applied AI.
Follow X-Apps