[macOS] move llvm to toolset (#4457)

This commit is contained in:
Mikhail Koliada
2021-11-11 11:23:05 +03:00
committed by GitHub
parent fef060bec8
commit 9ebc095c4a
9 changed files with 29 additions and 12 deletions

View File

@@ -0,0 +1,9 @@
$os = Get-OSVersion
Describe "Clang/LLVM" -Skip:($os.IsMonterey) {
It "Clang/LLVM is installed and version is correct" {
$toolsetVersion = Get-ToolsetValue 'llvm.version'
$clangVersion = & "$(brew --prefix llvm)/bin/clang" --version
$clangVersion[0] | Should -BeLike "*${toolsetVersion}*"
}
}