-
Notifications
You must be signed in to change notification settings - Fork 22
168 lines (162 loc) · 6.81 KB
/
ubuntu_22_04.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
name: Ubuntu 22.04
on:
pull_request:
branches: [ main ]
jobs:
software_cpp:
name: Software C++
runs-on: ubuntu-22.04
defaults:
run:
shell: bash -l {0} # Source profile for each step
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: curl https://vcvrack.com/downloads/RackFree-2.5.2-lin-x64.zip | jar xv
- run: chmod u+x ./Rack2Free/Rack
- run: sudo apt-get update
- run: sudo apt-get install libjack-jackd2-dev libpulse-dev
- name: VCV Rack headless first run
run: ./Rack -h <<< '\n'
working-directory: Rack2Free
- run: python3 build-system/install.py
- run: erbb setup --with-apt
- run: python build-system/install.py
- name: test/micropatch
run: erbb configure && erbb build && erbb build simulator
working-directory: test/micropatch
- name: test/seed2-dfm-eval-euro
run: erbb configure && erbb build firmware && erbb build simulator
working-directory: test/seed2-dfm-eval-euro
- name: test/display-context
run: erbb configure && erbb build firmware && erbb build simulator
working-directory: test/display-context
- name: test/data
run: erbb configure && erbb build && erbb build hardware
working-directory: test/data
- name: samples/bypass
run: erbb configure && erbb build && erbb build hardware && erbb build simulator
working-directory: samples/bypass
- name: samples/drop
run: erbb configure && erbb build && erbb build hardware && erbb build simulator
working-directory: samples/drop
- name: samples/reverb
run: erbb configure && erbb build && erbb build hardware && erbb build simulator
working-directory: samples/reverb
- name: samples/kick
run: erbb configure && erbb build && erbb build hardware && erbb build hardware --only-gerber && erbb build simulator
working-directory: samples/kick
- name: samples/custom
run: erbb configure && erbb build && erbb build hardware && erbb build simulator
working-directory: samples/custom
- name: samples/frohmager
run: erbb install simulator
working-directory: samples/frohmager
- name: erbb init
run: mkdir init && cd init && erbb init --name Init && erbb configure && erbb build && erbb build hardware && erbb build simulator
working-directory: samples
- name: VCV Rack headless run
run: ./Rack -h <<< '\n' && cat $HOME/.local/share/Rack2/log.txt
working-directory: Rack2Free
- name: Check micropatch
run: grep "Loaded plugin ErbPluginMicropatch" $HOME/.local/share/Rack2/log.txt
- name: Check bypass
run: grep "Loaded plugin ErbPluginBypass" $HOME/.local/share/Rack2/log.txt
- name: Check drop
run: grep "Loaded plugin ErbPluginDrop" $HOME/.local/share/Rack2/log.txt
- name: Check reverb
run: grep "Loaded plugin ErbPluginReverb" $HOME/.local/share/Rack2/log.txt
- name: Check kick
run: grep "Loaded plugin ErbPluginKick" $HOME/.local/share/Rack2/log.txt
- name: Check custom
run: grep "Loaded plugin ErbPluginCustom" $HOME/.local/share/Rack2/log.txt
- name: Check frohmager
run: grep "Loaded plugin ErbPluginFrohmager" $HOME/.local/share/Rack2/log.txt
- name: Check init
run: grep "Loaded plugin ErbPluginInit" $HOME/.local/share/Rack2/log.txt
software_faust:
name: Software Faust
runs-on: ubuntu-22.04
defaults:
run:
shell: bash -l {0} # Source profile for each step
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: curl https://vcvrack.com/downloads/RackFree-2.5.2-lin-x64.zip | jar xv
- run: chmod u+x ./Rack2Free/Rack
- run: sudo apt-get update
- run: sudo apt-get install libjack-jackd2-dev libpulse-dev faust
- name: VCV Rack headless first run
run: ./Rack -h <<< '\n'
working-directory: Rack2Free
- run: python3 build-system/install.py
- run: erbb setup --with-apt
- name: samples/faust
run: erbb configure && erbb build && erbb build hardware && erbb build hardware --only-gerber && erbb build simulator
working-directory: samples/faust
- name: test/faust
run: erbb configure && erbb build && erbb build hardware && erbb build simulator
working-directory: test/faust
- name: test/faust2
run: erbb configure && erbb build && erbb build hardware && erbb build simulator
working-directory: test/faust2
- name: test/faust3
run: erbb configure && erbb build && erbb build hardware && erbb build simulator
working-directory: test/faust3
- name: VCV Rack headless run
run: ./Rack -h <<< '\n' && cat $HOME/.local/share/Rack2/log.txt
working-directory: Rack2Free
- name: Check faust
run: grep "Loaded plugin ErbPluginFaust" $HOME/.local/share/Rack2/log.txt
- name: Check flanger
run: grep "Loaded plugin ErbPluginFlanger" $HOME/.local/share/Rack2/log.txt
hardware:
name: Hardware
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: sudo add-apt-repository --yes ppa:kicad/kicad-6.0-releases
- run: sudo apt-get update
- run: sudo apt-get install kicad libcairo2-dev libffi-dev libsndfile1
- run: pip3 install -r requirements.txt
- run: python boards/kivu12/build.py
unit_tests:
name: Unit Tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: sudo apt-get update
- run: sudo apt-get install -y ninja-build
- run: python test/unit/configure.py
- run: python test/unit/build.py
- run: python test/unit/run.py
erbb_tests:
name: Erbb/Erbui Tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: sudo add-apt-repository --yes ppa:kicad/kicad-6.0-releases
- run: sudo apt-get update
- run: sudo apt-get install -y ninja-build
- run: sudo apt-get install libglu1-mesa-dev
- run: sudo apt install libcairo2-dev libffi-dev python3-dev
- run: sudo apt-get install kicad
- run: sudo apt-get install libsndfile1
- run: python -m pip install -r requirements.txt
- run: python -m pip install coverage
- run: mkdir -p ~/.local/share/fonts/
- run: cp include/erb/vcvrack/design/d-din/*.otf ~/.local/share/fonts
- run: cp include/erb/vcvrack/design/indie-flower/*.ttf ~/.local/share/fonts
- run: python build-system/test.py
- run: python build-system/cover.py
- run: python test/vcvrack/configure.py
- run: python test/vcvrack/build.py