[macOS] Add Colima tool (#6285)

* Add Colima tool to macos images

* PR fixes: skip Catalina; switch to toolset json
This commit is contained in:
bogdan-damian-bgd
2022-09-27 09:54:35 +02:00
committed by GitHub
parent 00b572dfdf
commit ab4f43d818
5 changed files with 17 additions and 3 deletions

View File

@@ -597,3 +597,8 @@ function Get-CodeQLBundleVersion {
$CodeQLVersion = & $CodeQLPath version --quiet
return "CodeQL Action Bundle $CodeQLVersion"
}
function Get-ColimaVersion {
$colimaVersion = Run-Command "colima version" | Select-String "colima version" | Take-Part -Part 2
return "Colima $colimaVersion"
}

View File

@@ -182,7 +182,8 @@ $toolsList += @(
(Get-GHCVersion),
(Get-CabalVersion),
(Get-StackVersion),
(Get-SwiftFormatVersion)
(Get-SwiftFormatVersion),
(Get-ColimaVersion)
)
$markdown += New-MDList -Style Unordered -Lines ($toolsList | Sort-Object)

View File

@@ -150,3 +150,9 @@ Describe "CodeQL" -Skip:($os.IsCatalina) {
$CodeQLPacksPath | Should -Exist
}
}
Describe "Colima" {
It "Colima" {
"colima version" | Should -ReturnZeroExitCode
}
}

View File

@@ -205,6 +205,7 @@
"bazelisk",
"carthage",
"cmake",
"colima",
"gh",
"gnupg",
"gnu-tar",

View File

@@ -155,6 +155,7 @@
"bazelisk",
"carthage",
"cmake",
"colima",
"gh",
"gnupg",
"gnu-tar",