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 4319708
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,31 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Check if soundcore is available
run: modinfo soundcore
- name: Install alsa
run: |
sudo apt-get update
sudo apt-get install -y alsa-utils
- name: Create dummy soundcard
run: |
sudo modprobe snd-dummy
sudo modprobe snd-pcm-oss
sudo modprobe snd-mixer-oss
sudo modprobe snd-seq-oss
- name: Install pulseaudio
run: |
sudo apt-get update
sudo apt-get install -y pulseaudio
- name: Run pulseaudio
run: |
pulseaudio --start
pactl load-module module-null-sink sink_name=test
pactl set-default-sink test
- name: Debug audio
run: |
sudo apt-get install -y alsa-utils
speaker-test -t wav -c 2 -l 1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
Expand Down

0 comments on commit 4319708

Please sign in to comment.