mirror of
https://github.com/actions/runner-images.git
synced 2026-01-06 18:19:54 +08:00
[macOS] move llvm to toolset (#4457)
This commit is contained in:
@@ -30,19 +30,12 @@ Describe "SwiftFormat" -Skip:($os.IsMonterey) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Describe "GnuPG" -Skip:($os.IsMonterey) {
|
||||
It "GnuPG" {
|
||||
"gpg --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Clang/LLVM" -Skip:($os.IsMonterey) {
|
||||
It "Clang/LLVM is installed" {
|
||||
"$(brew --prefix llvm)/bin/clang --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "zstd" {
|
||||
It "zstd" {
|
||||
"zstd --version" | Should -ReturnZeroExitCode
|
||||
|
||||
9
images/macos/tests/LLVM.Tests.ps1
Normal file
9
images/macos/tests/LLVM.Tests.ps1
Normal 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}*"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user