mirror of
https://github.com/cirruslabs/macos-image-templates.git
synced 2026-10-18 13:20:40 +02:00
7026060433f65751e6548eb75c9f08b08b0c8f47
* Introduce Runner Variant This image will contain multiple version of Xcode to pick with https://github.com/MobileDevOps/xcode-select-version-action This image will updated weekly and will be warm on our runners. * Introduce Runner Variant This image will contain multiple version of Xcode to pick with https://github.com/MobileDevOps/xcode-select-version-action This image will updated weekly and will be warm on our runners. * Don't forget brackets * Update templates/xcode.pkr.hcl Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com> --------- Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com>
macOS Packer Templates for Tart
Repository with Packer templates to build Tart VMs to use with Cirrus Runners and Cirrus CI.
macos-{monterey,ventura,sonoma}-vanillaimage has nothing pre-installedmacos-{monterey,ventura,sonoma}-baseimage has onlybrewpre-installedmacos-{monterey,ventura,sonoma}-xcode:Nimage is based onmacos-{monterey,ventura}-baseimage and hasXcode NwithFlutterpre-installed
See a full list of VMs available here.
Building Vanilla Image
To build macos-sonoma-vanilla:
packer build templates/vanilla-sonoma.pkr.hcl
Optionally, SIP can be disabled for each image by running the following commands:
packer build -var vm_name=sonoma-vanilla templates/disable-sip.pkr.hcl
Building Base Image
packer build -var macos_version=sonoma templates/base.pkr.hcl
Building Xcode Image
packer build -var macos_version=sonoma -var xcode_version=15.3 templates/xcode.pkr.hcl
Languages
HCL
65%
Shell
20.3%
Objective-C
12.3%
C
2.4%