Skip to content

macOS VMs

macOS Virtual Machines

It is possible to run macOS Virtual Machines (the same way one can run Linux containers) on the macOS Community Cluster. Simply use osx_instance in your .cirrus.yml files:

osx_instance:
  image: mojave-xcode-10.2

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

List of available images

  • mojave-base - vanilla macOS with Brew and Command Line Tools pre-installed.
  • mojave-xcode-10.1 - based of mojave-base with Xcode and couple other packages pre-installed: cocoapods, fastlane, rake and xctool.
  • mojave-xcode-10.2 - based of mojave-base with Xcode and couple other packages pre-installed: cocoapods, fastlane, rake and xctool.
  • mojave-xcode-11 - based of mojave-base with Xcode 11 Beta 5 and couple other packages pre-installed: cocoapods, fastlane, rake and xctool.
  • mojave-flutter - based of mojave-xcode-10.1 with pre-installed Flutter and Android SDK/NDK.
  • mojave-xcode-10.2-flutter - based of mojave-xcode-10.2 with pre-installed Flutter and Android SDK/NDK.
  • (Not maintained) high-sierra-base - vanilla macOS with Homebrew and Command Line Tools pre-installed.
  • (Not maintained) high-sierra-xcode-9.4.1 and high-sierra-xcode-10.0 - based on high-sierra-base with Xcode and couple other packages pre-installed: cocoapods, fastlane, rake and xctool.

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

Underlying Technology

Under the hood Cirrus CI is using Anka Cloud hosted on MacStadium for orchestrating macOS VMs. Please refer to the Anka documentation for more details.