mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[MacOS] Add software to MacOS 12 image was not available during the Monterey beta stage. (#4644)
This commit is contained in:
@@ -43,21 +43,16 @@ $languageAndRuntimeList = @(
|
|||||||
(Get-DotnetVersionList),
|
(Get-DotnetVersionList),
|
||||||
(Get-GoVersion),
|
(Get-GoVersion),
|
||||||
(Get-JuliaVersion),
|
(Get-JuliaVersion),
|
||||||
(Get-KotlinVersion)
|
(Get-KotlinVersion),
|
||||||
|
(Get-PHPVersion),
|
||||||
|
(Get-ClangLLVMVersion)
|
||||||
)
|
)
|
||||||
|
|
||||||
if ($os.IsLessThanMonterey) {
|
if ($os.IsLessThanMonterey) {
|
||||||
$languageAndRuntimeList += @(
|
$languageAndRuntimeList += @(
|
||||||
(Get-PHPVersion)
|
(Get-GccVersion),
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($os.IsLessThanMonterey) {
|
|
||||||
$languageAndRuntimeList += @(
|
|
||||||
(Get-GccVersion)
|
|
||||||
(Get-FortranVersion)
|
(Get-FortranVersion)
|
||||||
(Get-ClangLLVMVersion)
|
)
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($os.IsLessThanBigSur) {
|
if ($os.IsLessThanBigSur) {
|
||||||
@@ -83,17 +78,17 @@ $packageManagementList = @(
|
|||||||
(Get-YarnVersion),
|
(Get-YarnVersion),
|
||||||
(Get-NuGetVersion),
|
(Get-NuGetVersion),
|
||||||
(Get-RubyGemsVersion),
|
(Get-RubyGemsVersion),
|
||||||
(Get-ComposerVersion)
|
(Get-ComposerVersion),
|
||||||
|
(Get-CarthageVersion)
|
||||||
)
|
)
|
||||||
|
|
||||||
if ($os.IsLessThanMonterey) {
|
if ($os.IsLessThanMonterey) {
|
||||||
$packageManagementList += @(
|
$packageManagementList += @(
|
||||||
(Get-CarthageVersion),
|
|
||||||
(Get-CondaVersion)
|
(Get-CondaVersion)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($os.IsHigherThanMojave -and $os.IsLessThanMonterey) {
|
if ($os.IsHigherThanMojave) {
|
||||||
$packageManagementList += @(
|
$packageManagementList += @(
|
||||||
(Get-VcpkgVersion)
|
(Get-VcpkgVersion)
|
||||||
)
|
)
|
||||||
@@ -139,12 +134,14 @@ $utilitiesList = @(
|
|||||||
(Get-MongodVersion),
|
(Get-MongodVersion),
|
||||||
(Get-7zipVersion),
|
(Get-7zipVersion),
|
||||||
(Get-BsdtarVersion),
|
(Get-BsdtarVersion),
|
||||||
(Get-GnuTarVersion)
|
(Get-GnuTarVersion),
|
||||||
|
(Get-GPGVersion),
|
||||||
|
(Get-SwitchAudioOsxVersion),
|
||||||
|
(Get-SoxVersion)
|
||||||
)
|
)
|
||||||
|
|
||||||
if ($os.IsLessThanMonterey) {
|
if ($os.IsLessThanMonterey) {
|
||||||
$utilitiesList += @(
|
$utilitiesList += @(
|
||||||
(Get-GPGVersion),
|
|
||||||
(Get-HelmVersion)
|
(Get-HelmVersion)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -163,13 +160,6 @@ if ($os.IsLessThanBigSur) {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($os.IsLessThanMonterey) {
|
|
||||||
$utilitiesList += @(
|
|
||||||
(Get-SwitchAudioOsxVersion),
|
|
||||||
(Get-SoxVersion)
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
$markdown += New-MDList -Style Unordered -Lines ($utilitiesList | Sort-Object)
|
$markdown += New-MDList -Style Unordered -Lines ($utilitiesList | Sort-Object)
|
||||||
|
|
||||||
# Tools
|
# Tools
|
||||||
|
|||||||
@@ -165,9 +165,11 @@
|
|||||||
"execute_command": "chmod +x {{ .Path }}; {{ .Vars }} {{ .Path }}",
|
"execute_command": "chmod +x {{ .Path }}; {{ .Vars }} {{ .Path }}",
|
||||||
"scripts": [
|
"scripts": [
|
||||||
"./provision/core/commonutils.sh",
|
"./provision/core/commonutils.sh",
|
||||||
|
"./provision/core/llvm.sh",
|
||||||
"./provision/core/golang.sh",
|
"./provision/core/golang.sh",
|
||||||
"./provision/core/swiftlint.sh",
|
"./provision/core/swiftlint.sh",
|
||||||
"./provision/core/openjdk.sh",
|
"./provision/core/openjdk.sh",
|
||||||
|
"./provision/core/php.sh",
|
||||||
"./provision/core/aws.sh",
|
"./provision/core/aws.sh",
|
||||||
"./provision/core/rust.sh",
|
"./provision/core/rust.sh",
|
||||||
"./provision/core/haskell.sh",
|
"./provision/core/haskell.sh",
|
||||||
@@ -181,6 +183,8 @@
|
|||||||
"./provision/core/nginx.sh",
|
"./provision/core/nginx.sh",
|
||||||
"./provision/core/postgresql.sh",
|
"./provision/core/postgresql.sh",
|
||||||
"./provision/core/mongodb.sh",
|
"./provision/core/mongodb.sh",
|
||||||
|
"./provision/core/audiodevice.sh",
|
||||||
|
"./provision/core/vcpkg.sh",
|
||||||
"./provision/core/safari.sh",
|
"./provision/core/safari.sh",
|
||||||
"./provision/core/chrome.sh",
|
"./provision/core/chrome.sh",
|
||||||
"./provision/core/edge.sh",
|
"./provision/core/edge.sh",
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ Describe "Azure CLI" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Describe "Carthage" -Skip:($os.IsMonterey) {
|
Describe "Carthage" {
|
||||||
It "Carthage" {
|
It "Carthage" {
|
||||||
"carthage version" | Should -ReturnZeroExitCode
|
"carthage version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
@@ -30,7 +30,7 @@ Describe "SwiftFormat" -Skip:($os.IsMonterey) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Describe "GnuPG" -Skip:($os.IsMonterey) {
|
Describe "GnuPG" {
|
||||||
It "GnuPG" {
|
It "GnuPG" {
|
||||||
"gpg --version" | Should -ReturnZeroExitCode
|
"gpg --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ Describe "GCC" -Skip:($os.IsMonterey) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Describe "vcpkg" -Skip:($os.IsMojave -or $os.IsMonterey) {
|
Describe "vcpkg" -Skip:($os.IsMojave) {
|
||||||
It "vcpkg" {
|
It "vcpkg" {
|
||||||
"vcpkg version" | Should -ReturnZeroExitCode
|
"vcpkg version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
$os = Get-OSVersion
|
$os = Get-OSVersion
|
||||||
|
|
||||||
Describe "Clang/LLVM" -Skip:($os.IsMonterey) {
|
Describe "Clang/LLVM" {
|
||||||
It "Clang/LLVM is installed and version is correct" {
|
It "Clang/LLVM is installed and version is correct" {
|
||||||
$toolsetVersion = Get-ToolsetValue 'llvm.version'
|
$toolsetVersion = Get-ToolsetValue 'llvm.version'
|
||||||
$clangVersion = & "$(brew --prefix llvm)/bin/clang" --version
|
$clangVersion = & "$(brew --prefix llvm)/bin/clang" --version
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
$os = Get-OSVersion
|
$os = Get-OSVersion
|
||||||
|
|
||||||
Describe "PHP" -Skip:($os.IsMonterey) {
|
Describe "PHP" {
|
||||||
Context "PHP" {
|
Context "PHP" {
|
||||||
It "PHP Path" {
|
It "PHP Path" {
|
||||||
Get-WhichTool "php" | Should -Not -BeLike "/usr/bin/php*"
|
Get-WhichTool "php" | Should -Not -BeLike "/usr/bin/php*"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ Describe "Bundler" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Describe "Nomad shenzhen CLI" -Skip:($os.IsMonterey) {
|
Describe "Nomad shenzhen CLI" {
|
||||||
It "Nomad shenzhen CLI" {
|
It "Nomad shenzhen CLI" {
|
||||||
"ipa --version" | Should -ReturnZeroExitCode
|
"ipa --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ Describe "Certificate" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Describe "Audio device" -Skip:($os.IsMonterey) {
|
Describe "Audio device" {
|
||||||
It "Sox is installed" {
|
It "Sox is installed" {
|
||||||
"sox --version" | Should -ReturnZeroExitCode
|
"sox --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -84,8 +84,10 @@
|
|||||||
"aria2",
|
"aria2",
|
||||||
"azure-cli",
|
"azure-cli",
|
||||||
"bazelisk",
|
"bazelisk",
|
||||||
|
"carthage",
|
||||||
"cmake",
|
"cmake",
|
||||||
"gh",
|
"gh",
|
||||||
|
"gnupg",
|
||||||
"gnu-tar",
|
"gnu-tar",
|
||||||
"kotlin",
|
"kotlin",
|
||||||
"libpq",
|
"libpq",
|
||||||
@@ -174,6 +176,7 @@
|
|||||||
"rubygems": [
|
"rubygems": [
|
||||||
"xcode-install",
|
"xcode-install",
|
||||||
"cocoapods",
|
"cocoapods",
|
||||||
|
"nomad-cli",
|
||||||
"xcpretty",
|
"xcpretty",
|
||||||
"bundler",
|
"bundler",
|
||||||
"fastlane",
|
"fastlane",
|
||||||
@@ -191,6 +194,9 @@
|
|||||||
"16"
|
"16"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"llvm": {
|
||||||
|
"version": "13"
|
||||||
|
},
|
||||||
"php": {
|
"php": {
|
||||||
"version": "8.1"
|
"version": "8.1"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user