Skip to content

macOS VMs

macOS Virtual Machines

It is possible to run M1 macOS Virtual Machines (like how one can run Linux containers) on the macOS Community Cluster. Use macos_instance in your .cirrus.yml files:

macos_instance:
  image: ghcr.io/cirruslabs/macos-monterey-base:latest

task:
  script: echo "Hello World from macOS!"

Available images

Cirrus CI is using Tart virtualization for running macOS Virtual Machines on Apple Silicon. Cirrus CI Cloud only allows images managed and regularly updated by us where with Cirrus CLI you can run any Tart VM on your infrastructure.

Please refer to the macos-image-templates repository on how the images were built and don't hesitate to create issues if current images are missing something.

Underlying Orchestration Technology

Under the hood Cirrus CI is using Cirrus CI's own Persistent Workers. See more details in out blog post.

Back to top