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

Dedicated runner: how to choose the machine (Mac mini, Windows or Linux)

A practical guide to sizing a dedicated CI/CD runner: CPU, RAM, SSD, network, Docker executor, three configuration profiles and a security checklist.

Dedicated runner: how to choose the machine (Mac mini, Windows or Linux)
Índice do artigo
faltam 5 min de leitura

Why a dedicated runner changes the game

When your pipeline starts to "queue" (jobs waiting for a runner) or becomes unstable because it depends on developer machines, a dedicated runner solves two problems at once:

  • Predictability: you control CPU/RAM, disk and network.
  • Speed: cache and dependencies "warm up" on the same host and stop competing for resources with other tasks.

The trick is to size it around your type of build (front-end, back-end, mobile) and your concurrency (how many jobs run at the same time). In GitLab Runner, this is governed by settings such as concurrent and limit in config.toml (the higher they are, the more resources you need).

What really matters in the hardware (and what is "nice to have")

1) CPU: more cores help more than "turbo" (for most teams)

For modern pipelines (Node/Vite/Next, tests, lint, typecheck), multi-core almost always wins, because:

  • you run more than one job at the same time, and
  • many tools already parallelize by default (bundlers, minifiers, tests).

Rule of thumb:

  • Strong single-core helps in specific steps (e.g. heavy bundling),
  • More cores help the total time of the pipeline (more simultaneous jobs).

2) Memory (RAM): this is where pipelines die when it runs short

The main symptoms of too little RAM are jobs that "die out of nowhere", heavy swapping and build times that fluctuate. If you use Docker, add up:

  • host RAM
  • RAM for images/containers
  • browser RAM (if you run E2E such as Playwright/Cypress)

Rule of thumb (for front-end):

  • 16 GB: works for 1 job at a time with moderate headroom
  • 32 GB: the "sweet spot" for 2 to 4 jobs depending on your stack
  • 64 GB: to run multiple jobs + E2E without worry

3) SSD and I/O: the secret to npm/pnpm/yarn + Docker

CI is basically "download + unpack + cache". So:

  • prefer SSD/NVMe
  • make sure you have space (Docker images grow fast)
  • use dependency caching (GitLab cache/artifacts) to reduce downloads

4) Network: 1 Gbps already helps, but stability is king

A slow pipeline is often:

  • a slow registry (pull/push)
  • dependencies downloading every time

If it is a dedicated machine, use a wired connection and treat the network as a requirement.

5) GPU and "AI core" (Neural Engine): they almost never factor in

For front-end/back-end CI, a GPU/AI core does not speed up builds, lint or unit tests. It only makes sense if you:

  • run ML/AI pipelines, render/3D, or workloads with CUDA/Metal
  • compile shaders or run inference in CI (a very specific case)

Linux, macOS or Windows: which to choose?

Linux (the default recommendation for Docker)

If your pipeline is "container-first", Linux is usually the simplest path:

  • "native" Docker (no extra VM layer)
  • lower cost per unit of performance
  • easy to scale (more runners)

For most teams, a Linux runner with the Docker executor is the best value for money.

macOS (when you NEED macOS)

A Mac as a runner makes sense if you:

  • build for iOS/macOS (Xcode),
  • need signing/notarization,
  • or need to validate something specific to the Apple ecosystem.

In practice, macOS is great for Apple builds, but for "100% Docker" pipelines you will operate through Docker Desktop/VM, which can add complexity.

Windows (use it when the target is Windows)

A Windows runner makes sense if your build/test requires:

  • .NET/Windows-only tooling,
  • MSBuild, installers, tests with Windows dependencies,
  • or Windows containers.

If you only want to run Linux containers, Linux/WSL2 is usually simpler, and you avoid friction with Windows container images.

Mac mini: is the base M6 enough? Or do you need the M5 Pro?

November 2026 update: on August 25, 2026, Apple announced the Mac mini with M6 and M5 Pro, available from September 22. In the same announcement, the Mac mini with M4 appears as the previous generation. That is why the choice for a new purchase today is between the M6 and the M5 Pro.

The right question is still: how many simultaneous jobs and what type of job?

Mac mini M6 (base): a good "first runner" for light/medium pipelines

What Apple states for this configuration:

  • 12-core CPU
  • 16 GB of unified memory as standard, configurable up to 32 GB
  • 2.5 Gb Ethernet, with a 10 Gb option
  • starting price of US$ 899 in the United States

Strengths for CI:

  • excellent energy efficiency (good for a machine that stays on 24 hours a day)
  • plenty of performance for build, lint and unit tests

Use it when:

  • 1 job at a time with 16 GB; with 32 GB, 2 to 4 light jobs, or 1 to 2 if there is E2E
  • no heavy E2E
  • the focus is build/lint/unit tests

Practical recommendation: if your pipeline has E2E (Playwright/Cypress) or large builds, configure the M6 with 32 GB, which is its ceiling.

Mac mini M5 Pro: when you want concurrency + headroom

What Apple states: CPU with up to 18 cores, up to 64 GB of unified memory and a starting price of US$ 1,699 in the United States.

It is worth it when:

  • you want 2 to 6 simultaneous jobs with stability
  • you run E2E often
  • you build larger projects (monorepo, many packages)
  • you need more than 32 GB of memory

Summary: the M5 Pro is not "mandatory", but it becomes a very defensible purchase when your CI is already a bottleneck and you want to "stop thinking" about it.

What about the Mac mini M4?

A used M4 or M4 Pro, one from remaining stock, or one the company already owns still works well as a runner. The sizing rule is the same: 16 GB for 1 job at a time, 32 GB for E2E and large builds, and the Pro version when concurrency calls for more memory. It just makes no sense to pay a new-machine price for it.

Windows: Arm or x64? Run it "bare" or in Docker?

Arm (Windows on Arm)

Today you can use Docker Desktop with WSL2, and there is support (still evolving) for Arm scenarios, but the ecosystem may still have rough edges:

  • some images/dependencies still assume x64
  • toolchains and binaries may require emulation

If the goal is CI "without surprises", x64 is still the most predictable option.

Docker vs "bare" (Shell executor)

  • Docker executor: better isolation, reproducible environments and less "it only works on my machine".
  • Shell executor: fast and simple, but jobs run on the host (more risk and more drift).

If you are going to share a runner across projects or accept third-party pipelines, prioritize isolation.

Recommended configurations (starting point)

Profile A: "Standard front-end" (build + lint + unit)

  • CPU: 6 to 10 cores
  • RAM: 16 to 32 GB
  • SSD: 512 GB+
  • Concurrency: 1 to 2 jobs

Profile B: "Front-end with frequent E2E"

  • CPU: 10 to 14 cores
  • RAM: 32 to 64 GB
  • SSD: 1 TB
  • Concurrency: 1 to 2 jobs with 32 GB; 2 to 4 jobs with 64 GB

Profile C: "iOS/macOS CI"

  • Mac mini / Mac Studio (depends on volume)
  • RAM: 32 to 64 GB
  • SSD: 1 TB
  • Concurrency: 1 to 3 (Xcode parallelizes heavily and consumes RAM)

Security checklist (what you cannot skip)

  1. A dedicated runner should run with a limited user/permissions (not "admin" by default).
  2. Avoid privileged containers unless needed (they can open a large attack surface).
  3. Use cache/artifacts with a retention policy.
  4. Separate runners by "trust level" (internal vs external projects).
  5. Pin versions (Node, pnpm, base images) for reproducibility.

References (quick reading)

Also read

How to speed up CI on GitLab Runner: cache, concurrency and tagsReplit → React: a safe flow from front-end prototype to productionWhat is DevOps?
Previous post
Marketplace split payments: commission, payouts and reconciliation
Next post
App login: which model to choose (email/password, Google, Apple, SSO)
Newsletter

One email a month, no noise

What we learn shipping custom software and applied AI.

Related articles

How to speed up CI on GitLab Runner: cache, concurrency and tags4 min · Engineering
Replit → React: a safe flow from front-end prototype to production3 min · Engineering
What is DevOps?4 min · Engineering
Understanding the Angular framework2 min · Engineering
APIs and microservices: the reinvention of technology2 min · Engineering

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