57 lines
1.3 KiB
JSON
57 lines
1.3 KiB
JSON
{
|
|
"builders": [
|
|
{
|
|
"type": "veertu-anka",
|
|
"vm_name": "mojave-xcode-{{user `xcode_version`}}",
|
|
"source_vm_name": "mojave-base",
|
|
"cpu_count": "2",
|
|
"ram_size": "8G",
|
|
"disk_size": "80G",
|
|
"boot_delay": "30s"
|
|
}
|
|
],
|
|
"variables": {
|
|
"fastlane_user": "{{env `FASTLANE_USER`}}",
|
|
"fastlane_password": "{{env `FASTLANE_PASSWORD`}}",
|
|
"xcode_version": "11.1"
|
|
},
|
|
"provisioners": [
|
|
{
|
|
"inline": [
|
|
"sudo gem install bundler fastlane cocoapods rake xcpretty -NV",
|
|
"pod setup"
|
|
],
|
|
"type": "shell"
|
|
},
|
|
{
|
|
"inline": [
|
|
"echo 'Disabling spotlight...'",
|
|
"sudo mdutil -a -i off"
|
|
],
|
|
"type": "shell"
|
|
},
|
|
{
|
|
"environment_vars": [
|
|
"FASTLANE_USER={{user `fastlane_user`}}",
|
|
"FASTLANE_PASSWORD={{user `fastlane_password`}}",
|
|
"XCODE_VERSION={{user `xcode_version`}}"
|
|
],
|
|
"inline": [
|
|
"sudo gem install xcode-install",
|
|
"xcversion install $XCODE_VERSION",
|
|
"xcversion select $XCODE_VERSION",
|
|
"xcversion cleanup"
|
|
],
|
|
"type": "shell"
|
|
},
|
|
{
|
|
"inline": [
|
|
"brew --version",
|
|
"brew update",
|
|
"brew install xctool"
|
|
],
|
|
"type": "shell"
|
|
}
|
|
]
|
|
}
|