mirror of
https://github.com/actions/runner-images.git
synced 2025-12-10 11:07:02 +00:00
This reverts commit d2c84c9d4c.
This commit is contained in:
@@ -257,22 +257,16 @@ Describe "HHVM" -Skip:(Test-IsUbuntu22) {
|
||||
}
|
||||
|
||||
Describe "Homebrew" {
|
||||
$brewToolset = (Get-ToolsetContent).brew
|
||||
$testCases = $brewToolset | ForEach-Object { @{brewName = $_.name; brewCommand = $_.command} }
|
||||
|
||||
It "homebrew" {
|
||||
"brew --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
It "zstd has /usr/local/bin symlink" {
|
||||
"/usr/local/bin/zstd" | Should -Exist
|
||||
}
|
||||
Context "Packages" {
|
||||
$testCases = (Get-ToolsetContent).brew | ForEach-Object { @{ ToolName = $_.name } }
|
||||
|
||||
It "homebrew package <brewName>" -TestCases $testCases {
|
||||
$brewPrefix = brew --prefix $brewName
|
||||
$brewPackage = Join-Path $brewPrefix "bin" $brewCommand
|
||||
|
||||
"$brewPackage --version" | Should -ReturnZeroExitCode
|
||||
It "<ToolName>" -TestCases $testCases {
|
||||
"$ToolName --version" | Should -Not -BeNullOrEmpty
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -217,14 +217,7 @@
|
||||
]
|
||||
},
|
||||
"brew": [
|
||||
{
|
||||
"name": "gcc@11",
|
||||
"command": "gcc-11"
|
||||
},
|
||||
{
|
||||
"name": "zstd",
|
||||
"command": "zstd"
|
||||
}
|
||||
{"name": "zstd"}
|
||||
],
|
||||
"docker": {
|
||||
"images": [
|
||||
|
||||
@@ -217,14 +217,7 @@
|
||||
]
|
||||
},
|
||||
"brew": [
|
||||
{
|
||||
"name": "gcc@11",
|
||||
"command": "gcc-11"
|
||||
},
|
||||
{
|
||||
"name": "zstd",
|
||||
"command": "zstd"
|
||||
}
|
||||
{"name": "zstd"}
|
||||
],
|
||||
"docker": {
|
||||
"images": [
|
||||
|
||||
@@ -201,10 +201,7 @@
|
||||
]
|
||||
},
|
||||
"brew": [
|
||||
{
|
||||
"name": "zstd",
|
||||
"command": "zstd"
|
||||
}
|
||||
{"name": "zstd"}
|
||||
],
|
||||
"docker": {
|
||||
"images": [
|
||||
|
||||
Reference in New Issue
Block a user