Skip to content

Commit 81c711e

Browse files
committed
Move the audio config to its own section and add docs
1 parent 102ffb7 commit 81c711e

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.circleci/config.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,12 +354,18 @@ commands:
354354
wget -O ~/ff.tar.bz2 "https://download.mozilla.org/?product=firefox-nightly-latest-ssl&os=linux64&lang=en-US"
355355
tar -C ~ -xf ~/ff.tar.bz2
356356
- run:
357-
name: configure firefox
357+
name: Add audio dependencies
358358
command: |
359-
# This should add and start PulseAudio's dummy mixer
359+
# This should add and start PulseAudio's dummy mixer. It will warn
360+
# that "This program is not intended to be run as root" but it can
361+
# be ignored.
360362
apt-get update -y; true
361363
apt-get install -q -y pulseaudio
362-
pulseaudio -D
364+
pulseaudio --start
365+
- run:
366+
name: configure firefox
367+
command: |
368+
# Note: the autoplay pref allows playback without user interaction
363369
mkdir ~/tmp-firefox-profile/
364370
cat > ~/tmp-firefox-profile/user.js \<<EOF
365371
user_pref("gfx.offscreencanvas.enabled", true);

0 commit comments

Comments
 (0)