mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 19:46:46 +00:00
[macOS] remove blackhole 2ch (#9487)
* [macOS] remove blackhole-2ch * Update System.Tests.ps1
This commit is contained in:
@@ -12,14 +12,4 @@ brew_smart_install "switchaudio-osx"
|
|||||||
echo "install sox"
|
echo "install sox"
|
||||||
brew_smart_install "sox"
|
brew_smart_install "sox"
|
||||||
|
|
||||||
# Big Sur doesn't support soundflower installation without user interaction https://github.com/mattingalls/Soundflower/releases/tag/2.0b2
|
|
||||||
# Install blackhole-2ch for Big Sur instead
|
|
||||||
|
|
||||||
echo "install blackhole-2ch"
|
|
||||||
brew_smart_install "blackhole-2ch"
|
|
||||||
|
|
||||||
echo "set BlackHole 2ch as input/output device"
|
|
||||||
SwitchAudioSource -s "BlackHole 2ch" -t input
|
|
||||||
SwitchAudioSource -s "BlackHole 2ch" -t output
|
|
||||||
|
|
||||||
invoke_tests "System" "Audio Device"
|
invoke_tests "System" "Audio Device"
|
||||||
|
|||||||
@@ -33,10 +33,6 @@ Describe "Audio device" -Skip:($os.IsVentura -or $os.IsSonoma) {
|
|||||||
It "SwitchAudioSource is installed" {
|
It "SwitchAudioSource is installed" {
|
||||||
"SwitchAudioSource -c" | Should -ReturnZeroExitCode
|
"SwitchAudioSource -c" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|
||||||
It "Audio channel BlackHole 2ch" {
|
|
||||||
SwitchAudioSource -c | Should -BeLikeExactly "BlackHole 2ch"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Describe "Screen Resolution" -Skip:(isVeertu) {
|
Describe "Screen Resolution" -Skip:(isVeertu) {
|
||||||
|
|||||||
Reference in New Issue
Block a user