File tree 1 file changed +21
-3
lines changed
1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches : [master]
6
6
paths :
7
+ - ' .github/workflows/build-linux.yaml'
7
8
- ' include/**'
8
9
- ' src/**'
9
10
- ' test/**'
18
19
branches : [master]
19
20
types : [opened, synchronize]
20
21
paths :
22
+ - ' .github/workflows/build-linux.yaml'
21
23
- ' include/**'
22
24
- ' src/**'
23
25
- ' test/**'
46
48
with :
47
49
submodules : recursive
48
50
- name : install-dependencies
51
+ run : xargs sudo apt-get install -y < Aptfile
52
+ - name : setup-audio-dev
49
53
run : |
50
- xargs sudo apt-get install -y < Aptfile
51
- sudo apt-get install -y pulseaudio
54
+ sudo apt-get install -y pulseaudio alsa-utils
55
+ pulseaudio --start
56
+ pacmd load-module module-null-sink sink_name=DummyOutput sink_properties=device.description=DummyOutput
57
+ pacmd set-default-sink DummyOutput
58
+ echo "pcm.!default {
59
+ type pulse
60
+ }
61
+ ctl.!default {
62
+ type pulse
63
+ }" > ~/.asoundrc
64
+ newgrp audio
65
+ newgrp $USER
66
+ pulseaudio --kill && pulseaudio --start
67
+ id
52
68
- name : setup-rust-cache
53
69
uses : Swatinem/rust-cache@v2
54
70
with :
60
76
config : |
61
77
paths-ignore: [vendor]
62
78
- name : build
63
- run : make -j$(nproc)
79
+ run : |
80
+ id
81
+ PULSE_SERVER="unix:/run/user/$(id -u)/pulse/native" make -j$(nproc)
64
82
- name : build-editor
65
83
run : make editor -j$(nproc)
66
84
- name : test
You can’t perform that action at this time.
0 commit comments