mirror of
https://github.com/actions/runner-images.git
synced 2026-01-18 18:01:43 +08:00
removed windows 2019 and ubuntu 20.04 files and reference
This commit is contained in:
@@ -49,16 +49,7 @@ Describe "Android SDK" {
|
||||
It "Platform build tools <buildToolsVersion> is installed" -TestCases $buildToolsTestCases {
|
||||
"$installedPackages" | Should -Match "$buildToolsVersion"
|
||||
}
|
||||
|
||||
if (Test-IsWin19) {
|
||||
It "Extra package <extraPackage> is installed" -TestCases $extraPackagesTestCases {
|
||||
"$installedPackages" | Should -Match "extras;$extraPackage"
|
||||
}
|
||||
|
||||
It "Addon package <addonPackage> is installed" -TestCases $addonsTestCases {
|
||||
"$installedPackages" | Should -Match "add-ons;$addonPackage"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
It "Additional tool <additionalToolVersion> is installed" -TestCases $additionalToolsTestCases {
|
||||
"$installedPackages" | Should -Match $additionalToolVersion
|
||||
|
||||
@@ -3,17 +3,4 @@
|
||||
## Desc: Test BizTalk project build component installed.
|
||||
################################################################################
|
||||
|
||||
Describe "BizTalk Build Component Setup" -Skip:(-not (Test-IsWin19)) {
|
||||
It "BizTalk Registry Check" {
|
||||
Test-Path "HKLM:\SOFTWARE\WOW6432Node\Microsoft\BizTalk Server\3.0" | Should -BeTrue
|
||||
}
|
||||
|
||||
It "BizTalk Folder Check" {
|
||||
"${env:ProgramFiles(x86)}\Microsoft BizTalk Server" | Should -Exist
|
||||
}
|
||||
|
||||
It "BizTalk Build Targets files Check" {
|
||||
"${env:ProgramFiles(x86)}\MSBuild\Microsoft\BizTalk\BizTalkC.targets" | Should -Exist
|
||||
"${env:ProgramFiles(x86)}\MSBuild\Microsoft\BizTalk\BizTalkCommon.targets" | Should -Exist
|
||||
}
|
||||
}
|
||||
# BizTalk is no longer supported on Windows Server 2022/2025
|
||||
|
||||
@@ -38,13 +38,3 @@ Describe "GitHub CLI" {
|
||||
"gh --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "CloudFoundry CLI" -Skip:(-not (Test-IsWin19)) {
|
||||
It "cf is located in C:\cf-cli" {
|
||||
"C:\cf-cli\cf.exe" | Should -Exist
|
||||
}
|
||||
|
||||
It "cf" {
|
||||
"cf --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,12 +22,6 @@ Describe "Bicep" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "GitVersion" -Skip:(-not (Test-IsWin19)) {
|
||||
It "gitversion is installed" {
|
||||
"gitversion /version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "InnoSetup" {
|
||||
It "InnoSetup" {
|
||||
(Get-Command -Name iscc).CommandType | Should -BeExactly "Application"
|
||||
|
||||
@@ -16,13 +16,6 @@ Describe "MSYS2 packages" {
|
||||
@{ ToolName = "bash.exe" }
|
||||
)
|
||||
|
||||
if (Test-IsWin19) {
|
||||
$TestCases += @(
|
||||
@{ ToolName = "tar.exe" }
|
||||
@{ ToolName = "make.exe" }
|
||||
)
|
||||
}
|
||||
|
||||
It "<ToolName> is installed in <msys2Dir>" -TestCases $TestCases {
|
||||
(Get-Command "$ToolName").Source | Should -BeLike "$msys2Dir*"
|
||||
}
|
||||
|
||||
@@ -1,21 +1,13 @@
|
||||
Describe "SSDTExtensions" {
|
||||
#These extensions don't have any proper name in the state.packages.json file, only id is available, which can be found on extension marketplace download page
|
||||
|
||||
if (Test-isWin19) {
|
||||
$testExtenions = @(
|
||||
@{id = "04a86fc2-dbd5-4222-848e-911638e487fe"}
|
||||
@{id = "851E7A09-7B2B-4F06-A15D-BABFCB26B970"}
|
||||
@{id = "717ad572-c4b7-435c-c166-c2969777f718"}
|
||||
)
|
||||
$testExtenions = @(
|
||||
@{id = "04a86fc2-dbd5-4222-848e-911638e487fe"}
|
||||
@{id = "717ad572-c4b7-435c-c166-c2969777f718"}
|
||||
)
|
||||
|
||||
It "Extensions id=<id>" -TestCases $testExtenions {
|
||||
It "Extensions id=<id>" -TestCases $testExtenions {
|
||||
$version = Get-VSExtensionVersion -packageName "${id}"
|
||||
$version | Should -Not -BeNullOrEmpty
|
||||
}
|
||||
} else {
|
||||
It "Extension SSDT" {
|
||||
$version = Get-VSExtensionVersion -packageName "SSDT"
|
||||
$version | Should -Not -BeNullOrEmpty
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,17 +54,6 @@ Describe "DACFx" {
|
||||
$sqlPackagePath = 'C:\Program Files\Microsoft SQL Server\170\DAC\bin\SqlPackage.exe'
|
||||
"${sqlPackagePath}" | Should -Exist
|
||||
}
|
||||
|
||||
It "SqlLocalDB" -Skip:(-not (Test-IsWin19)) {
|
||||
$sqlLocalDBPath = 'C:\Program Files\Microsoft SQL Server\130\Tools\Binn\SqlLocalDB.exe'
|
||||
"${sqlLocalDBPath}" | Should -Exist
|
||||
}
|
||||
}
|
||||
|
||||
Describe "DotnetTLS" -Skip:(-not (Test-IsWin19)) {
|
||||
It "Tls 1.2 is enabled" {
|
||||
[Net.ServicePointManager]::SecurityProtocol -band "Tls12" | Should -Be Tls12
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Mercurial" -Skip:(Test-IsWin25) {
|
||||
@@ -101,16 +90,6 @@ Describe "Mingw64" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "GoogleCloudCLI" -Skip:(-not (Test-IsWin19)) {
|
||||
It "<ToolName>" -TestCases @(
|
||||
@{ ToolName = "bq" }
|
||||
@{ ToolName = "gcloud" }
|
||||
@{ ToolName = "gsutil" }
|
||||
) {
|
||||
"$ToolName version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "NET48" {
|
||||
It "NET48" {
|
||||
Get-ChildItem -Path "${env:ProgramFiles(x86)}\Microsoft SDKs\Windows\*\*\NETFX 4.8 Tools" -Directory | Should -HaveCount 1
|
||||
@@ -175,13 +154,6 @@ Describe "Vcpkg" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "VCRedist" -Skip:(-not (Test-IsWin19)) {
|
||||
It "vcredist_2010_x64" {
|
||||
"HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1D8E6291-B0D5-35EC-8441-6616F567A0F7}" | Should -Exist
|
||||
"C:\Windows\System32\msvcr100.dll" | Should -Exist
|
||||
}
|
||||
}
|
||||
|
||||
Describe "WebPlatformInstaller" {
|
||||
It "WebPlatformInstaller" {
|
||||
"WebPICMD" | Should -ReturnZeroExitCode
|
||||
|
||||
@@ -25,19 +25,13 @@ Describe "Visual Studio" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Windows 10 SDK" -Skip:((Test-IsWin19) -or (Test-IsWin25)) {
|
||||
Describe "Windows 10 SDK" -Skip:(Test-IsWin25) {
|
||||
It "Verifies 17763 SDK is installed" {
|
||||
"${env:ProgramFiles(x86)}\Windows Kits\10\DesignTime\CommonConfiguration\Neutral\UAP\10.0.17763.0\UAP.props" | Should -Exist
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Windows 11 SDK" -Skip:(-not (Test-IsWin19)) {
|
||||
It "Verifies 22621 SDK is installed" {
|
||||
"${env:ProgramFiles(x86)}\Windows Kits\10\DesignTime\CommonConfiguration\Neutral\UAP\10.0.22621.0\UAP.props" | Should -Exist
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Windows 11 SDK" -Skip:(Test-IsWin19) {
|
||||
Describe "Windows 11 SDK" {
|
||||
It "Verifies 26100 SDK is installed" {
|
||||
"${env:ProgramFiles(x86)}\Windows Kits\10\DesignTime\CommonConfiguration\Neutral\UAP\10.0.26100.0\UAP.props" | Should -Exist
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ Describe "Windows Updates" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "WSL2" -Skip:((Test-IsWin19) -or (Test-IsWin22)) {
|
||||
Describe "WSL2" -Skip:(Test-IsWin22) {
|
||||
It "WSL status should return zero exit code" {
|
||||
"wsl --status" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user