GitLab CI on NoMac · NoMac

Docs · GitLab CI+

GitLab CI on NoMac

Your GitLab.com CI jobs on a fresh Mac with Xcode: connect a runner, then tag the jobs nomac. On a self-managed GitLab, use nomac run.

1Make a runner in GitLab

In your project: Settings, CI/CD, expand Runners, Create project runner(for a group: Build, Runners, Create group runner). Give it the tag nomacand no other, leave Run untagged off, and create it. Copy its token from the next page, where GitLab shows it once; it starts with glrt-.

2Connect it

Sign in at nomac.app, open CI, paste the token under GitLab and press Connect. NoMac checks it with GitLab and keeps it encrypted. You need some credit.

3Tag your jobs

.gitlab-ci.yml

ios-tests:
  tags: [nomac]
  script:
    - xcodebuild test -scheme App -destination 'platform=iOS Simulator,name=iPhone 17 Pro,OS=27.2' -resultBundlePath build/tests.xcresult | xcbeautify
  artifacts:
    when: always
    paths: [build/tests.xcresult]

Each job gets its own Mac. Its log streams to GitLab as it runs, and cancels, timeouts and retries work as on any runner. GitLab runs scripts with pipefail, so a failed test fails the job even when piped into xcbeautify. The CI page lists every job with its minutes and cost.

What you get

The machineA fresh macOS VM for every job, deleted when the job ends: 6 cores and 8 GB of an Apple silicon Mac (M4 to M6).

InstalledmacOS 26.6.2, Xcode 27.2, iOS 27.2 Simulator; Node 24.20.0, npm 11.19.0, Ruby 3.4.11, Bundler 4.0.24, CocoaPods 1.17.0, xcbeautify 3.2.1, XcodeGen 2.46.0, Git 2.54.0, Git LFS 3.8.0, GitHub CLI 2.100.0, jq 1.7.1, Python 3.14.7, uv 0.13.0, simulator-use 0.15.3, nvm 0.40.8, Swift 6.4.2, Homebrew 7.0.12.

Price1.5¢ a minute ($0.90 an hour) from your NoMac credit, billed per minute from the Mac's start to its stop, a minute at least. No subscription. A Mac on which no stage of the job ran, or whose job NoMac lost, is credited back.

Jobs at once2 per account, GitHub and GitLab jobs together; more wait in GitLab's queue. Ask for more.

Longest job6 hours. For jobs over an hour, raise the project's timeout in GitLab (60 minutes by default), and set the runner's maximum job timeout to 6 hours (21600 seconds).

Out of creditNoMac stops taking the account's jobs, so they wait in GitLab's queue and start once you buy credit. GitLab drops a job that waits a day, and one waiting over an hour once the runner shows offline, 2 hours after NoMac stops asking.

GitLabGitLab.com. GitLab asks a new account to verify its identity (phone or card) before it runs any pipeline. From a self-managed GitLab, run Mac steps with nomac run.

What runs

Debug a failed job

A job whose script failed ends its log with a link to its page on nomac.app, also on the CI page as Debug on a Mac: the commands and an agent prompt that put a fresh copy of the project at the job's commit on a clean NoMac Mac with a shell, to run the script there and fix it. Only the project and the commit go to that Mac, never the job's variables. A merge request's job is not set up, since its code may be a fork's. See Debug a failed job on a Mac.

Secrets and safety

For agents

With a NoMac API key: POST /api/v1/ci/gitlab/runnerswith {"token": "glrt-..."}connects a runner,GET /api/v1/ci/gitlab/runnerslists them, DELETE /api/v1/ci/gitlab/runners/IDdisconnects one andPOST /api/v1/ci/gitlab/runners/IDwith {"resume": true}resumes a paused one.

Previous← GitHub Actions NextAny other CI →