mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-30 21:38:26 +08:00
[macos] introduce more flexible way of managind xcode runtimes (#8572)
This commit is contained in:
@@ -29,7 +29,7 @@ $xcodeVersions | ForEach-Object {
|
||||
Write-Host "Configuring Xcode $($_.link) ..."
|
||||
Invoke-XcodeRunFirstLaunch -Version $_.link
|
||||
|
||||
if ($_.link.Split(".")[0] -ge 14) {
|
||||
if ($_.install_runtimes -eq 'true') {
|
||||
# Additional simulator runtimes are included by default for Xcode < 14
|
||||
Install-AdditionalSimulatorRuntimes -Version $_.link
|
||||
}
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
"default": "14.2",
|
||||
"x64": {
|
||||
"versions": [
|
||||
{ "link": "14.2", "version": "14.2.0+14C18" },
|
||||
{ "link": "14.1", "version": "14.1.0+14B47b" },
|
||||
{ "link": "14.0.1", "version": "14.0.1+14A400", "symlinks": ["14.0"] },
|
||||
{ "link": "14.2", "version": "14.2.0+14C18", "install_runtimes": "true" },
|
||||
{ "link": "14.1", "version": "14.1.0+14B47b", "install_runtimes": "true" },
|
||||
{ "link": "14.0.1", "version": "14.0.1+14A400", "symlinks": ["14.0"], "install_runtimes": "true" },
|
||||
{ "link": "13.4.1", "version": "13.4.1+13F100", "symlinks": ["13.4"] },
|
||||
{ "link": "13.3.1", "version": "13.3.1+13E500a", "symlinks": ["13.3"] },
|
||||
{ "link": "13.2.1", "version": "13.2.1+13C100", "symlinks": ["13.2"] },
|
||||
|
||||
@@ -3,20 +3,20 @@
|
||||
"default": "14.3.1",
|
||||
"x64": {
|
||||
"versions": [
|
||||
{ "link": "15.0.1", "version": "15.0.1-Release.Candidate+15A507"},
|
||||
{ "link": "15.0", "version": "15.0.0+15A240d"},
|
||||
{ "link": "14.3.1", "version": "14.3.1+14E300c","symlinks": ["14.3"] },
|
||||
{ "link": "14.2", "version": "14.2.0+14C18" },
|
||||
{ "link": "14.1", "version": "14.1.0+14B47b" }
|
||||
{ "link": "15.0.1", "version": "15.0.1-Release.Candidate+15A507", "install_runtimes": "true"},
|
||||
{ "link": "15.0", "version": "15.0.0+15A240d", "install_runtimes": "true"},
|
||||
{ "link": "14.3.1", "version": "14.3.1+14E300c","symlinks": ["14.3"], "install_runtimes": "true" },
|
||||
{ "link": "14.2", "version": "14.2.0+14C18", "install_runtimes": "true" },
|
||||
{ "link": "14.1", "version": "14.1.0+14B47b", "install_runtimes": "true" }
|
||||
]
|
||||
},
|
||||
"arm64":{
|
||||
"versions": [
|
||||
{ "link": "15.0.1", "version": "15.0.1-Release.Candidate+15A507"},
|
||||
{ "link": "15.0", "version": "15.0.0+15A240d"},
|
||||
{ "link": "14.3.1", "version": "14.3.1+14E300c","symlinks": ["14.3"] },
|
||||
{ "link": "14.2", "version": "14.2.0+14C18" },
|
||||
{ "link": "14.1", "version": "14.1.0+14B47b" }
|
||||
{ "link": "15.0.1", "version": "15.0.1-Release.Candidate+15A507", "install_runtimes": "true"},
|
||||
{ "link": "15.0", "version": "15.0.0+15A240d", "install_runtimes": "true"},
|
||||
{ "link": "14.3.1", "version": "14.3.1+14E300c","symlinks": ["14.3"], "install_runtimes": "true" },
|
||||
{ "link": "14.2", "version": "14.2.0+14C18", "install_runtimes": "true" },
|
||||
{ "link": "14.1", "version": "14.1.0+14B47b", "install_runtimes": "true" }
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user