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
|
return $powershellVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function Get-SwigVersion {
|
||||||
|
$swigVersion = Run-Command "swig -version" | Select-Object -First 2 | Take-Part -Part 2
|
||||||
|
return "Swig $swigVersion"
|
||||||
|
}
|
||||||
|
|
||||||
function Build-PackageManagementEnvironmentTable {
|
function Build-PackageManagementEnvironmentTable {
|
||||||
return @(
|
return @(
|
||||||
@{
|
@{
|
||||||
|
|||||||
@@ -159,7 +159,8 @@ $toolsList = @(
|
|||||||
(Get-AWSSAMCLIVersion),
|
(Get-AWSSAMCLIVersion),
|
||||||
(Get-AWSSessionManagerCLIVersion),
|
(Get-AWSSessionManagerCLIVersion),
|
||||||
(Get-AliyunCLIVersion),
|
(Get-AliyunCLIVersion),
|
||||||
(Get-XcodeCommandLineToolsVersion)
|
(Get-XcodeCommandLineToolsVersion),
|
||||||
|
(Get-SwigVersion)
|
||||||
)
|
)
|
||||||
|
|
||||||
if( -not $os.IsHighSierra) {
|
if( -not $os.IsHighSierra) {
|
||||||
|
|||||||
@@ -85,4 +85,10 @@ Describe "VSMac" {
|
|||||||
$vsPath | Should -Exist
|
$vsPath | Should -Exist
|
||||||
$vstoolPath | Should -Exist
|
$vstoolPath | Should -Exist
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Describe "Swig" {
|
||||||
|
It "Swig" {
|
||||||
|
"swig -version" | Should -ReturnZeroExitCode
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -253,6 +253,7 @@
|
|||||||
"perl",
|
"perl",
|
||||||
"subversion",
|
"subversion",
|
||||||
"swiftformat",
|
"swiftformat",
|
||||||
|
"swig",
|
||||||
"xctool",
|
"xctool",
|
||||||
"zstd"
|
"zstd"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -205,6 +205,7 @@
|
|||||||
"perl",
|
"perl",
|
||||||
"subversion",
|
"subversion",
|
||||||
"swiftformat",
|
"swiftformat",
|
||||||
|
"swig",
|
||||||
"xctool",
|
"xctool",
|
||||||
"zstd"
|
"zstd"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -151,6 +151,7 @@
|
|||||||
"perl",
|
"perl",
|
||||||
"subversion",
|
"subversion",
|
||||||
"swiftformat",
|
"swiftformat",
|
||||||
|
"swig",
|
||||||
"zstd"
|
"zstd"
|
||||||
],
|
],
|
||||||
"cask_packages": [
|
"cask_packages": [
|
||||||
@@ -239,4 +240,4 @@
|
|||||||
"bundler",
|
"bundler",
|
||||||
"fastlane"
|
"fastlane"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user