mirror of
https://github.com/cirruslabs/macos-image-templates.git
synced 2026-09-30 11:51:13 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e6e2dfb6e | ||
|
|
0652373c8c | ||
|
|
082799eb6f | ||
|
|
3b47c8dfc6 | ||
|
|
69ed3fe0fa | ||
|
|
256b8cc1c8 |
@@ -1,6 +1,5 @@
|
||||
task:
|
||||
name: "Update Runner Image ($MACOS_VERSION)"
|
||||
execution_lock: runner-image-update
|
||||
env:
|
||||
matrix:
|
||||
- MACOS_VERSION: sonoma
|
||||
@@ -13,7 +12,7 @@ task:
|
||||
XCODE_COMPONENTS: "\"MetalToolchain\""
|
||||
DISK_SIZE: 400
|
||||
- MACOS_VERSION: tahoe
|
||||
XCODE_VERSIONS: "26.1,\"26.0.1\",\"26.2-beta\""
|
||||
XCODE_VERSIONS: "\"26.1.1\",\"26.0.1\",\"26.2-beta\""
|
||||
XCODE_COMPONENTS: "\"MetalToolchain\""
|
||||
DISK_SIZE: 280
|
||||
<<: *defaults
|
||||
|
||||
@@ -4,9 +4,12 @@ task:
|
||||
env:
|
||||
matrix:
|
||||
- MACOS_VERSION: tahoe
|
||||
XCODE_VERSION: "26.0.1"
|
||||
XCODE_VERSION: "26.1.1"
|
||||
XCODE_COMPONENTS: "MetalToolchain"
|
||||
LATEST: true
|
||||
- MACOS_VERSION: tahoe
|
||||
XCODE_VERSION: "26.0.1"
|
||||
XCODE_COMPONENTS: "MetalToolchain"
|
||||
- MACOS_VERSION: sequoia
|
||||
XCODE_VERSION: 16.4
|
||||
LATEST: true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
== Runtimes ==
|
||||
iOS 26.0 (26.0.1 - 23A8464) - com.apple.CoreSimulator.SimRuntime.iOS-26-0
|
||||
iOS 26.1 (26.1 - 23B80) - com.apple.CoreSimulator.SimRuntime.iOS-26-1
|
||||
iOS 26.1 (26.1 - 23B86) - com.apple.CoreSimulator.SimRuntime.iOS-26-1
|
||||
iOS 26.2 (26.2 - 23C5027f) - com.apple.CoreSimulator.SimRuntime.iOS-26-2
|
||||
tvOS 26.0 (26.0 - 23J352) - com.apple.CoreSimulator.SimRuntime.tvOS-26-0
|
||||
tvOS 26.1 (26.1 - 23J579) - com.apple.CoreSimulator.SimRuntime.tvOS-26-1
|
||||
|
||||
+32
-12
@@ -137,7 +137,7 @@ build {
|
||||
provisioner "shell" {
|
||||
inline = [
|
||||
"source ~/.zprofile",
|
||||
"brew install xcodesorg/made/xcodes",
|
||||
"brew install xcodes",
|
||||
"xcodes version",
|
||||
]
|
||||
}
|
||||
@@ -336,6 +336,37 @@ build {
|
||||
]
|
||||
}
|
||||
|
||||
# Wait for the "update_dyld_sim_shared_cache" process[1][2] to finish
|
||||
# to avoid wasting CPU cycles after boot
|
||||
#
|
||||
# [1]: https://apple.stackexchange.com/questions/412101/update-dyld-sim-shared-cache-is-taking-up-a-lot-of-memory
|
||||
# [2]: https://stackoverflow.com/a/68394101/9316533
|
||||
provisioner "shell" {
|
||||
inline = [
|
||||
"source ~/.zprofile",
|
||||
"xcrun simctl runtime dyld_shared_cache update --all || sleep 180",
|
||||
"xcrun simctl list -v",
|
||||
]
|
||||
}
|
||||
|
||||
// Restart the VM
|
||||
provisioner "shell" {
|
||||
inline = [
|
||||
"sudo shutdown -r now"
|
||||
]
|
||||
expect_disconnect = true
|
||||
}
|
||||
|
||||
// Wait for VM to come back up and run simctl commands again
|
||||
provisioner "shell" {
|
||||
inline = [
|
||||
"source ~/.zprofile",
|
||||
"xcrun simctl runtime dyld_shared_cache update --all || sleep 180",
|
||||
"xcrun simctl list -v"
|
||||
]
|
||||
pause_before = "60s"
|
||||
}
|
||||
|
||||
# Compatibility with GitHub Actions Runner Images, where
|
||||
# /usr/local/bin belongs to the default user. Also see [2].
|
||||
#
|
||||
@@ -347,17 +378,6 @@ build {
|
||||
]
|
||||
}
|
||||
|
||||
# Wait for the "update_dyld_sim_shared_cache" process[1][2] to finish
|
||||
# to avoid wasting CPU cycles after boot
|
||||
#
|
||||
# [1]: https://apple.stackexchange.com/questions/412101/update-dyld-sim-shared-cache-is-taking-up-a-lot-of-memory
|
||||
# [2]: https://stackoverflow.com/a/68394101/9316533
|
||||
provisioner "shell" {
|
||||
inline = [
|
||||
"sleep 1800"
|
||||
]
|
||||
}
|
||||
|
||||
// Install setup-info-generator
|
||||
provisioner "shell" {
|
||||
inline = [
|
||||
|
||||
Reference in New Issue
Block a user