mirror of
https://github.com/cirruslabs/macos-image-templates.git
synced 2026-10-22 03:24:04 +02:00
All simulators for the last 3 versions of Xcode (#254)
This commit is contained in:
@@ -167,6 +167,18 @@ build {
|
||||
}
|
||||
}
|
||||
|
||||
dynamic "provisioner" {
|
||||
for_each = length(var.xcode_version) > 2 ? [2] : []
|
||||
labels = ["shell"]
|
||||
content {
|
||||
inline = [
|
||||
"source ~/.zprofile",
|
||||
"sudo xcodes select '${var.xcode_version[2]}'",
|
||||
"xcodebuild -downloadAllPlatforms",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
dynamic "provisioner" {
|
||||
for_each = length(var.xcode_version) > 1 ? [1] : []
|
||||
labels = ["shell"]
|
||||
|
||||
Reference in New Issue
Block a user