mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-23 18:08:53 +08:00
[Windows] move llvm to toolset (#4487)
This commit is contained in:
7
images/win/scripts/Tests/LLVM.Tests.ps1
Normal file
7
images/win/scripts/Tests/LLVM.Tests.ps1
Normal file
@@ -0,0 +1,7 @@
|
||||
Describe "Clang/LLVM" {
|
||||
It "Clang/LLVM installed and version is correct" {
|
||||
$toolsetVersion = (Get-ToolsetContent).llvm.version
|
||||
$clangVersion = clang --version
|
||||
$clangVersion[0] | Should -BeLike "*${toolsetVersion}*"
|
||||
}
|
||||
}
|
||||
@@ -81,15 +81,6 @@ Describe "KubernetesTools" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "LLVM" {
|
||||
It "<ToolName>" -TestCases @(
|
||||
@{ ToolName = "clang" }
|
||||
@{ ToolName = "clang++" }
|
||||
) {
|
||||
"$ToolName --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Mingw64" {
|
||||
It "<ToolName>" -TestCases @(
|
||||
@{ ToolName = "gcc" }
|
||||
|
||||
Reference in New Issue
Block a user