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-KotlinVersion),
|
||||
(Get-PHPVersion),
|
||||
(Get-ClangLLVMVersion)
|
||||
(Get-ClangLLVMVersion),
|
||||
(Get-GccVersion),
|
||||
(Get-FortranVersion)
|
||||
)
|
||||
|
||||
if ($os.IsLessThanMonterey) {
|
||||
$languageAndRuntimeList += @(
|
||||
(Get-GccVersion),
|
||||
(Get-FortranVersion)
|
||||
)
|
||||
}
|
||||
|
||||
if ($os.IsLessThanBigSur) {
|
||||
$languageAndRuntimeList += @(
|
||||
(Get-RVersion)
|
||||
|
||||
@@ -172,6 +172,7 @@
|
||||
"./provision/core/php.sh",
|
||||
"./provision/core/aws.sh",
|
||||
"./provision/core/rust.sh",
|
||||
"./provision/core/gcc.sh",
|
||||
"./provision/core/haskell.sh",
|
||||
"./provision/core/stack.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 = $_} }
|
||||
|
||||
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" {
|
||||
"ipa --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
@@ -104,6 +104,11 @@
|
||||
"julia"
|
||||
]
|
||||
},
|
||||
"gcc": {
|
||||
"versions": [
|
||||
"11"
|
||||
]
|
||||
},
|
||||
"toolcache": [
|
||||
{
|
||||
"name": "Python",
|
||||
@@ -176,7 +181,6 @@
|
||||
"rubygems": [
|
||||
"xcode-install",
|
||||
"cocoapods",
|
||||
"nomad-cli",
|
||||
"xcpretty",
|
||||
"bundler",
|
||||
"fastlane",
|
||||
|
||||
Reference in New Issue
Block a user