Skip to content

Commit

Permalink
pulseaudio
Browse files Browse the repository at this point in the history
  • Loading branch information
subalterngames committed Aug 19, 2024
1 parent 1a77737 commit 7e0cd04
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,13 @@ jobs:
- name: Test events
env:
SOUNDFONTS_DIRECTORY: $HOME/Documents/cacophony/soundfonts
# https://stackoverflow.com/a/72451446
run: |
sudo modprobe snd-dummy
sudo apt install pulseaudio xvfb -y
pactl load-module module-null-sink sink_name=auto_null
pactl set-default-sink auto_null
pulseaudio --start
mkdir -p ${{ env.SOUNDFONTS_DIRECTORY }}
cp -r test_files/soundfonts/* ${{ env.SOUNDFONTS_DIRECTORY }}
sudo apt install alsa-utils xvfb -y
for f in test_files/events/*.txt ; do echo "Quit\nQuitPanelYes" >> $f && xvfb-run cargo run -- --events $f ; done
if: matrix.os == 'ubuntu-24.04'

0 comments on commit 7e0cd04

Please sign in to comment.