Skip to content

Commit f0222b7

Browse files
committed
Add Linux virtual audio device
1 parent 5266745 commit f0222b7

1 file changed

Lines changed: 18 additions & 5 deletions

File tree

.github/workflows/build_and_run_tests.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
name: Build and Run Tests
22

33
on:
4-
pull_request:
4+
push:
55
paths:
66
- 'JuceLibraryCode/**'
77
- 'Plugins/**'
88
- 'Resources/**'
99
- 'Source/**'
1010
- 'CMakeLists.txt'
1111
- 'HelperFunctions.cmake'
12+
- '.github/workflows/**'
1213
branches:
1314
- 'main'
15+
- 'development'
1416
workflow_dispatch:
1517

1618
jobs:
@@ -19,16 +21,27 @@ jobs:
1921

2022
steps:
2123
- uses: actions/checkout@v4
24+
25+
- name: Install dependencies
26+
run: |
27+
sudo apt update
28+
cd Resources/Scripts
29+
sudo ./install_linux_dependencies.sh
30+
sudo apt install -y alsa-utils
31+
32+
- name: Load ALSA Loopback
33+
run: |
34+
sudo modprobe snd-aloop
35+
arecord -l
36+
aplay -l
37+
2238
- name: build
2339
env:
2440
CC: gcc-10
2541
CXX: g++-10
2642
run: |
27-
sudo apt update
28-
cd Resources/Scripts
29-
sudo ./install_linux_dependencies.sh
3043
cd ../../Build && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON ..
31-
make -j8
44+
make -j5
3245
- name: run tests
3346
run: |
3447
cd Resources/Scripts

0 commit comments

Comments
 (0)