mirror of
https://github.com/actions/runner-images.git
synced 2025-12-27 20:25:26 +08:00
* Update azure-cli installation * Update curl installation * Update git-lfs installation * Add utils * Update gnupg installation * Add brew_install function * Revert jq installation * Add condition for the aws-sam-cli * Add return to function, revert aws-sam-cli changes, rename brew_install function * Fix typo Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
19 lines
448 B
Bash
19 lines
448 B
Bash
#!/bin/bash -e -o pipefail
|
|
source ~/utils/invoke-tests.sh
|
|
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 "Common" "Audio Device"
|