Skip to content

Commit

Permalink
fix: make GH workflow trigger when changed itself
Browse files Browse the repository at this point in the history
  • Loading branch information
iWas-Coder committed Jun 28, 2024
1 parent 9e48bba commit 6878a14
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/build-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches: [master]
paths:
- '.github/workflows/build-linux.yaml'
- 'include/**'
- 'src/**'
- 'test/**'
Expand All @@ -18,6 +19,7 @@ on:
branches: [master]
types: [opened, synchronize]
paths:
- '.github/workflows/build-linux.yaml'
- 'include/**'
- 'src/**'
- 'test/**'
Expand Down Expand Up @@ -46,9 +48,23 @@ jobs:
with:
submodules: recursive
- name: install-dependencies
run: xargs sudo apt-get install -y < Aptfile
- name: setup-audio-dev
run: |
xargs sudo apt-get install -y < Aptfile
sudo apt-get install -y pulseaudio
sudo apt-get install -y pulseaudio alsa-utils
pulseaudio --start
pacmd load-module module-null-sink sink_name=DummyOutput sink_properties=device.description=DummyOutput
pacmd set-default-sink DummyOutput
echo "pcm.!default {
type pulse
}
ctl.!default {
type pulse
}" > ~/.asoundrc
sudo usermod -aG audio $USER
su - $USER
pulseaudio --kill && pulseaudio --start
id
- name: setup-rust-cache
uses: Swatinem/rust-cache@v2
with:
Expand All @@ -60,7 +76,9 @@ jobs:
config: |
paths-ignore: [vendor]
- name: build
run: make -j$(nproc)
run: |
id
PULSE_SERVER="unix:/run/user/$(id -u)/pulse/native" make -j$(nproc)
- name: build-editor
run: make editor -j$(nproc)
- name: test
Expand Down

0 comments on commit 6878a14

Please sign in to comment.