forked from codeoverflow-org/nodecg-io
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 842 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: test
on: [push]
jobs:
tests:
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: "18"
- name: Install system dependencies
run: |
sudo apt-get -y update
sudo apt-get -y install libusb-1.0-0-dev libasound2-dev libudev-dev alsa-base alsa-utils
- name: Patch
continue-on-error: true
run: |
sudo depmod --verbose
sudo modprobe --verbose snd
- name: Debug
continue-on-error: true
run: |
groups
ls -lah /dev/snd/
- name: Install nodejs dependencies
run: npm ci
- name: Run easymidi
#env:
# SDL_VIDEODRIVER: "dummy"
# SDL_AUDIODRIVER: "disk"
run: npm run test