mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[macOS] Add xcodes and xcbeautify to macOS images (#8835)
This commit is contained in:
@@ -626,3 +626,13 @@ function Get-PKGConfigVersion {
|
|||||||
$pkgconfigVersion = Run-Command "pkg-config --version"
|
$pkgconfigVersion = Run-Command "pkg-config --version"
|
||||||
return $pkgconfigVersion
|
return $pkgconfigVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function Get-XcbeautifyVersion {
|
||||||
|
$XcbeautifyVersion = Run-Command "xcbeautify --version"
|
||||||
|
return $XcbeautifyVersion
|
||||||
|
}
|
||||||
|
|
||||||
|
function Get-XcodesVersion {
|
||||||
|
$XcodesVersion = Run-Command "xcodes version"
|
||||||
|
return $XcodesVersion
|
||||||
|
}
|
||||||
|
|||||||
@@ -185,7 +185,13 @@ $tools.AddToolVersion("SwiftFormat", $(Get-SwiftFormatVersion))
|
|||||||
if ((-not $os.IsVentura) -and (-not $os.IsSonoma)) {
|
if ((-not $os.IsVentura) -and (-not $os.IsSonoma)) {
|
||||||
$tools.AddToolVersion("Swig", $(Get-SwigVersion))
|
$tools.AddToolVersion("Swig", $(Get-SwigVersion))
|
||||||
}
|
}
|
||||||
|
if (-not $os.IsBigSur) {
|
||||||
|
$tools.AddToolVersion("Xcbeautify", $(Get-XcbeautifyVersion))
|
||||||
|
}
|
||||||
$tools.AddToolVersion("Xcode Command Line Tools", $(Get-XcodeCommandLineToolsVersion))
|
$tools.AddToolVersion("Xcode Command Line Tools", $(Get-XcodeCommandLineToolsVersion))
|
||||||
|
if (-not $os.IsBigSur) {
|
||||||
|
$tools.AddToolVersion("Xcodes", $(Get-XcodesVersion))
|
||||||
|
}
|
||||||
|
|
||||||
# Linters
|
# Linters
|
||||||
$linters = $installedSoftware.AddHeader("Linters")
|
$linters = $installedSoftware.AddHeader("Linters")
|
||||||
|
|||||||
@@ -206,7 +206,9 @@
|
|||||||
"r",
|
"r",
|
||||||
"yq",
|
"yq",
|
||||||
"imagemagick",
|
"imagemagick",
|
||||||
"unxip"
|
"unxip",
|
||||||
|
"xcbeautify",
|
||||||
|
"xcodes"
|
||||||
],
|
],
|
||||||
"cask_packages": [
|
"cask_packages": [
|
||||||
"julia",
|
"julia",
|
||||||
|
|||||||
@@ -74,7 +74,9 @@
|
|||||||
"gmp",
|
"gmp",
|
||||||
"r",
|
"r",
|
||||||
"yq",
|
"yq",
|
||||||
"unxip"
|
"unxip",
|
||||||
|
"xcbeautify",
|
||||||
|
"xcodes"
|
||||||
],
|
],
|
||||||
"cask_packages": [
|
"cask_packages": [
|
||||||
"julia"
|
"julia"
|
||||||
|
|||||||
@@ -70,7 +70,9 @@
|
|||||||
"gmp",
|
"gmp",
|
||||||
"r",
|
"r",
|
||||||
"yq",
|
"yq",
|
||||||
"unxip"
|
"unxip",
|
||||||
|
"xcbeautify",
|
||||||
|
"xcodes"
|
||||||
],
|
],
|
||||||
"cask_packages": [
|
"cask_packages": [
|
||||||
"julia"
|
"julia"
|
||||||
|
|||||||
Reference in New Issue
Block a user