mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
[MacOS] Add GCC and remove Nomad from MacOS 12 image (#4667)
* Add gcc 11 to macos12 * Remove nomad-shenzhen cli from macos12
This commit is contained in:
@@ -45,16 +45,11 @@ $languageAndRuntimeList = @(
|
|||||||
(Get-JuliaVersion),
|
(Get-JuliaVersion),
|
||||||
(Get-KotlinVersion),
|
(Get-KotlinVersion),
|
||||||
(Get-PHPVersion),
|
(Get-PHPVersion),
|
||||||
(Get-ClangLLVMVersion)
|
(Get-ClangLLVMVersion),
|
||||||
|
(Get-GccVersion),
|
||||||
|
(Get-FortranVersion)
|
||||||
)
|
)
|
||||||
|
|
||||||
if ($os.IsLessThanMonterey) {
|
|
||||||
$languageAndRuntimeList += @(
|
|
||||||
(Get-GccVersion),
|
|
||||||
(Get-FortranVersion)
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($os.IsLessThanBigSur) {
|
if ($os.IsLessThanBigSur) {
|
||||||
$languageAndRuntimeList += @(
|
$languageAndRuntimeList += @(
|
||||||
(Get-RVersion)
|
(Get-RVersion)
|
||||||
|
|||||||
@@ -172,6 +172,7 @@
|
|||||||
"./provision/core/php.sh",
|
"./provision/core/php.sh",
|
||||||
"./provision/core/aws.sh",
|
"./provision/core/aws.sh",
|
||||||
"./provision/core/rust.sh",
|
"./provision/core/rust.sh",
|
||||||
|
"./provision/core/gcc.sh",
|
||||||
"./provision/core/haskell.sh",
|
"./provision/core/haskell.sh",
|
||||||
"./provision/core/stack.sh",
|
"./provision/core/stack.sh",
|
||||||
"./provision/core/cocoapods.sh",
|
"./provision/core/cocoapods.sh",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ Describe ".NET" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Describe "GCC" -Skip:($os.IsMonterey) {
|
Describe "GCC" {
|
||||||
$testCases = Get-ToolsetValue -KeyPath gcc.versions | ForEach-Object { @{Version = $_} }
|
$testCases = Get-ToolsetValue -KeyPath gcc.versions | ForEach-Object { @{Version = $_} }
|
||||||
|
|
||||||
It "GCC <Version>" -TestCases $testCases {
|
It "GCC <Version>" -TestCases $testCases {
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ Describe "Bundler" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Describe "Nomad shenzhen CLI" {
|
Describe "Nomad shenzhen CLI" -Skip:($os.IsMonterey) {
|
||||||
It "Nomad shenzhen CLI" {
|
It "Nomad shenzhen CLI" {
|
||||||
"ipa --version" | Should -ReturnZeroExitCode
|
"ipa --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -104,6 +104,11 @@
|
|||||||
"julia"
|
"julia"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"gcc": {
|
||||||
|
"versions": [
|
||||||
|
"11"
|
||||||
|
]
|
||||||
|
},
|
||||||
"toolcache": [
|
"toolcache": [
|
||||||
{
|
{
|
||||||
"name": "Python",
|
"name": "Python",
|
||||||
@@ -176,7 +181,6 @@
|
|||||||
"rubygems": [
|
"rubygems": [
|
||||||
"xcode-install",
|
"xcode-install",
|
||||||
"cocoapods",
|
"cocoapods",
|
||||||
"nomad-cli",
|
|
||||||
"xcpretty",
|
"xcpretty",
|
||||||
"bundler",
|
"bundler",
|
||||||
"fastlane",
|
"fastlane",
|
||||||
|
|||||||
Reference in New Issue
Block a user