mirror of
https://github.com/actions/runner-images.git
synced 2026-01-04 09:13:33 +08:00
Add blackhole audiodevice for macOS Big sur, add sox and Switchaudio-osx versions to the docs (#3542)
This commit is contained in:
@@ -17,7 +17,7 @@ Describe "Certificate" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Audio device" -Skip:($os.IsHighSierra -or $os.IsBigSur) {
|
||||
Describe "Audio device" -Skip:($os.IsHighSierra) {
|
||||
It "Sox is installed" {
|
||||
"sox --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
@@ -26,9 +26,13 @@ Describe "Audio device" -Skip:($os.IsHighSierra -or $os.IsBigSur) {
|
||||
"SwitchAudioSource -c" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
It "Audio channel Soundflower (2ch)" {
|
||||
It "Audio channel Soundflower (2ch)" -Skip:($os.IsBigSur) {
|
||||
SwitchAudioSource -c | Should -BeLikeExactly "Soundflower (2ch)"
|
||||
}
|
||||
|
||||
It "Audio channel BlackHole 2ch" -Skip:($os.IsLessThanBigSur) {
|
||||
SwitchAudioSource -c | Should -BeLikeExactly "BlackHole 2ch"
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Screen Resolution" -Skip:($os.IsHighSierra) {
|
||||
|
||||
Reference in New Issue
Block a user