-
-
Notifications
You must be signed in to change notification settings - Fork 33
61 lines (61 loc) · 1.6 KB
/
main.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
detectonly:
name: Detect use of .only
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Detect use of .only
run: |
grep -rq --include '*.spec.js' \.only\( . && echo 'You have .only() in your tests!' && exit 1
exit 0
web-test-runner:
name: Web Test Runner
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Web Test Runner
run: |
sudo apt-get install -y pulseaudio
pulseaudio -D --exit-idle-time=-1
cd wasmaudioworklet
yarn install
yarn playwright install
yarn playwright install-deps
yarn createbrowsersourcebundle
xvfb-run yarn wtr
assemblyscriptsynth:
name: AssemblyScript synth
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Assemblyscript synth
run: |
cd wasmaudioworklet
yarn install
yarn test-asc-synth:ci
bundle-pianorolldemo:
name: Bundle pianorolldemo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Bundle pianorolldemo
run: |
cd wasmaudioworklet
yarn install
yarn bundle-pianorolldemo
bundle-songcompiler:
name: Bundle songcompiler
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Bundle songcompiler
run: |
cd wasmaudioworklet
yarn install
yarn bundle-songcompiler