mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
* [macOS] Fail Pester tests on error * return it back * added all files for testing * common utils path changed * linux scripts shouldn't be touched
18 lines
417 B
Bash
18 lines
417 B
Bash
#!/bin/bash -e -o pipefail
|
|
source ~/utils/utils.sh
|
|
|
|
echo "install soundflower"
|
|
brew install --cask soundflower
|
|
|
|
echo "install switchaudio-osx"
|
|
brew_smart_install "switchaudio-osx"
|
|
|
|
echo "install sox"
|
|
brew_smart_install "sox"
|
|
|
|
echo "set Soundflower (2ch) as input/output device"
|
|
SwitchAudioSource -s "Soundflower (2ch)" -t input
|
|
SwitchAudioSource -s "Soundflower (2ch)" -t output
|
|
|
|
invoke_tests "System" "Audio Device"
|