Direct answer
For one person with few commits, yes; there is no technical obstacle. It stops being suitable when a team shares it, or when you need it working while you are away from the computer.
Basis
- A runner only requires that the machine can connect out to the CI platform, so it can be installed on any Mac, including the one in front of you. This is the cheapest way to start and worth trying first.
- Problem one, uptime: when the laptop lid closes, it sleeps, or it leaves the house and changes networks, the runner goes offline and jobs start queuing. Per GitHub's documentation, a runner that has not connected for more than 14 days is also removed automatically.
- Problem two, contention for resources: a build uses the whole processor, and your own Xcode, simulator and video calls all get sluggish meanwhile. In the other direction, what you do on the machine makes build times swing up and down.
- Problem three, isolation: the runner runs as your login user, so scripts and third-party actions in a workflow can access your login keychain, SSH keys and all your signed-in accounts. On a dedicated build machine that exposure is much smaller.
Boundaries: when the answer is different
If you have a desktop Mac that stays put and stays on, the first two problems largely do not exist. Keep using it; there is no need to rent. If other people's commits also depend on your computer to build, the whole team's pipeline stops on the day you take leave or shut down, and that is the time to set aside a dedicated machine, bought or rented. A rented machine is located in the United States and cannot have real devices plugged in; pricing and stock are as shown on the plans page. It is likewise a single machine, with no standby that takes over automatically when it fails.
How to do it
- Install the runner on your own Mac first, use it for a week or two, and get the pipeline working.
- Record how many times during that period jobs queued because the runner was offline.
- Watch whether the machine gets slow enough during builds to affect your work.
- If either of the two happens often, then consider a dedicated build machine.
- When migrating, write the environment setup steps as a script and rebuild from it on the new machine.
Related questions
- My agent stops when I close my laptop lid. What can I do?
- Which user account does a CI runner run as on a rented Mac?
- Build machine: buy a Mac mini for the office or rent one?
- Only a few builds a month: is an always-on build machine worth renting?
- Rented Mac mini as an always-on build machine for small teams? Count your build minutes first
Use case
This question belongs to the use case: Rented Mac mini as an always-on build machine for small teams? Count your build minutes first
Other questions in the same use case:
- Can a cheap Linux machine build iOS apps, with a Mac only when needed?
- Only one build machine: should I keep a cloud runner as a backup?
- Monthly, quarterly, half-yearly or annual billing: which should I choose?
- How much is refunded if I end a quarterly, half-yearly or annual plan early?
Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support