mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[macOS] Adding Swig (#3510)
This commit is contained in:
@@ -487,6 +487,11 @@ function Get-PowershellVersion {
|
||||
return $powershellVersion
|
||||
}
|
||||
|
||||
function Get-SwigVersion {
|
||||
$swigVersion = Run-Command "swig -version" | Select-Object -First 2 | Take-Part -Part 2
|
||||
return "Swig $swigVersion"
|
||||
}
|
||||
|
||||
function Build-PackageManagementEnvironmentTable {
|
||||
return @(
|
||||
@{
|
||||
|
||||
@@ -159,7 +159,8 @@ $toolsList = @(
|
||||
(Get-AWSSAMCLIVersion),
|
||||
(Get-AWSSessionManagerCLIVersion),
|
||||
(Get-AliyunCLIVersion),
|
||||
(Get-XcodeCommandLineToolsVersion)
|
||||
(Get-XcodeCommandLineToolsVersion),
|
||||
(Get-SwigVersion)
|
||||
)
|
||||
|
||||
if( -not $os.IsHighSierra) {
|
||||
|
||||
@@ -86,3 +86,9 @@ Describe "VSMac" {
|
||||
$vstoolPath | Should -Exist
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Swig" {
|
||||
It "Swig" {
|
||||
"swig -version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
@@ -253,6 +253,7 @@
|
||||
"perl",
|
||||
"subversion",
|
||||
"swiftformat",
|
||||
"swig",
|
||||
"xctool",
|
||||
"zstd"
|
||||
],
|
||||
|
||||
@@ -205,6 +205,7 @@
|
||||
"perl",
|
||||
"subversion",
|
||||
"swiftformat",
|
||||
"swig",
|
||||
"xctool",
|
||||
"zstd"
|
||||
],
|
||||
|
||||
@@ -151,6 +151,7 @@
|
||||
"perl",
|
||||
"subversion",
|
||||
"swiftformat",
|
||||
"swig",
|
||||
"zstd"
|
||||
],
|
||||
"cask_packages": [
|
||||
|
||||
Reference in New Issue
Block a user