File tree 1 file changed +22
-3
lines changed
1 file changed +22
-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
+ sudo usermod -aG audio $USER
65
+ newgrp audio
66
+ exec newgrp $USER
67
+ pulseaudio --kill && pulseaudio --start
68
+ id
52
69
- name : setup-rust-cache
53
70
uses : Swatinem/rust-cache@v2
54
71
with :
60
77
config : |
61
78
paths-ignore: [vendor]
62
79
- name : build
63
- run : make -j$(nproc)
80
+ run : |
81
+ id
82
+ PULSE_SERVER="unix:/run/user/$(id -u)/pulse/native" make -j$(nproc)
64
83
- name : build-editor
65
84
run : make editor -j$(nproc)
66
85
- name : test
You can’t perform that action at this time.
0 commit comments