Skip to content

Commit

Permalink
💚 Install pulseaudio
Browse files Browse the repository at this point in the history
  • Loading branch information
clabe45 committed Jul 20, 2023
1 parent fd8964d commit 3d7f241
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Install pulseaudio
run: |
sudo apt-get update
sudo apt-get install -y pulseaudio
- name: Run pulseaudio
run: pulseaudio --start
- name: Debug pulseaudio
run: |
sudo apt-get install -y alsa-utils ffmpeg
speaker-test -t wav -c 2 -l 1 -D v1 > test.wav
# Check that the file is not silent
ffmpeg -i test.wav -f wav /dev/null | awk '/silence_end/ && ($5 == $8) {print "silent"}'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
Expand Down

0 comments on commit 3d7f241

Please sign in to comment.