[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:
Maksim Shilov
2021-12-08 00:35:25 +03:00
committed by GitHub
parent 05b9e3e79c
commit 89e19af4c9
5 changed files with 11 additions and 11 deletions

View File

@@ -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)

View File

@@ -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",

View File

@@ -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 {

View File

@@ -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
} }

View File

@@ -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",