Term · Build minutes
Build minutes are a common unit of measurement in cloud continuous integration services: every minute a job runs on a machine the platform provides uses up allowance or incurs a charge. Most services include some free allowance with a plan and bill by usage beyond it. Rates differ by operating system: taking GitHub Actions as the example, its documentation states that jobs on Windows and macOS cost more than jobs on Linux, that standard runners are free for public repositories, and that self-hosted runners do not count towards usage. Other services use different names and formulas, some counting hours or credits; follow each provider's pricing page.
How it relates to renting a remote Mac
This concept is the core variable when choosing between "cloud builds" and "having a Mac of your own". The two are billed in different shapes: cloud builds are by usage, and you pay for what you use; renting a remote Mac is a fixed fee per period, the same however many builds you run (prices and availability are on the plans page).
Look at these quantities when comparing, all taken from your own project's real data:
- macOS time actually used per month. Your CI service's usage page shows it; do not estimate by feel.
- How long a single build takes. A project with many dependencies that compiles from zero is at a disadvantage in a cloud environment that is clean every time; a fixed machine can keep its caches.
- Whether you need a desktop besides builds. If you need to open Xcode to track down a signing problem, look at the simulator, or click through an upload by hand, cloud builds do not give you a desktop.
- Whether you are willing to maintain a machine. System and Xcode updates, disk cleanup, the runner going offline: all of that is yours to manage.
To be honest: for a project that releases once or twice a month with short builds, the allowance included with a cloud service is quite likely enough, and renting a machine just to save money does not pay off. A fixed machine shows its advantage when usage is heavy or you need a macOS desktop anyway. We have no build-time comparison figures to publish. For a fuller comparison see remote Mac or cloud build service: how to choose.
FAQ
Why do macOS minutes cost more than Linux minutes?
The platforms do not break down their costs item by item; the documentation only gives the rates for each system. The common understanding is that macOS can only run on Apple hardware, which is supplied differently from general-purpose servers. Follow the rates each platform publishes.
Does time spent waiting in the queue count as build minutes?
Rules differ between providers. The common practice is to count only the time the job actually runs, rounded to some granularity. Follow the billing documentation of the service you use.
Related
- What is a self-hosted runner?
- Remote Mac vs GitHub Actions macOS runner or Codemagic: which should I use?
- Should I rent or buy a Mac just to build and publish an iOS app?
- What is DerivedData in Xcode, and is it safe to delete?
- Should I rent a Mac mini or buy one?
Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support