-
Notifications
You must be signed in to change notification settings - Fork 22
183 lines (176 loc) · 8.01 KB
/
macos_12.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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
name: macOS 12
on:
pull_request:
branches: [ main ]
jobs:
software_cpp:
name: Software C++
runs-on: macos-12
defaults:
run:
shell: bash -l {0} # Source profile for each step
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: curl https://github.com/grame-cncm/faust/releases/download/2.37.3/Faust-2.37.3-x64.dmg --location --output Faust-2.37.3-x64.dmg
- run: hdiutil attach Faust-2.37.3-x64.dmg
- run: echo 'export PATH=$PATH:/Volumes/Faust-2.37.3/Faust-2.37.3/bin' >> ~/.bash_profile
- run: brew install --cask vcv-rack
- name: VCV Rack headless first run
run: /Applications/VCV\ Rack\ 2\ Free.app/Contents/MacOS/Rack -h <<< '\n'
- run: python3 build-system/install.py
- run: erbb setup --with-xcode-support
- name: test/micropatch
run: erbb configure && erbb build && erbb build simulator && erbb build simulator --xcode
working-directory: test/micropatch
- name: test/seed2-dfm-eval-euro
run: erbb configure && erbb build firmware && erbb build simulator && erbb build simulator --xcode
working-directory: test/seed2-dfm-eval-euro
- name: test/display-context
run: erbb configure && erbb build firmware && erbb build simulator && erbb build simulator --xcode
working-directory: test/display-context
- name: test/data
run: erbb configure && erbb build
working-directory: test/data
- name: samples/bypass
run: erbb configure && erbb build && erbb build hardware && erbb build simulator && erbb build simulator --xcode
working-directory: samples/bypass
- name: samples/drop
run: erbb configure && erbb build && erbb build hardware && erbb build simulator && erbb build simulator --xcode
working-directory: samples/drop
- name: samples/reverb
run: erbb configure && erbb build && erbb build hardware && erbb build simulator && erbb build simulator --xcode
working-directory: samples/reverb
- name: samples/kick
run: erbb configure && erbb build && erbb build hardware && erbb build hardware --only-gerber && erbb build simulator && erbb build simulator --xcode
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 && erbb build simulator --xcode
working-directory: samples
- name: VCV Rack headless run
run: /Applications/VCV\ Rack\ 2\ Free.app/Contents/MacOS/Rack -h <<< '\n' && cat $HOME/Library/Application\ Support/Rack2/log.txt
- name: Check micropatch
run: grep "Loaded plugin ErbPluginMicropatch" $HOME/Library/Application\ Support/Rack2/log.txt
- name: Check bypass
run: grep "Loaded plugin ErbPluginBypass" $HOME/Library/Application\ Support/Rack2/log.txt
- name: Check drop
run: grep "Loaded plugin ErbPluginDrop" $HOME/Library/Application\ Support/Rack2/log.txt
- name: Check reverb
run: grep "Loaded plugin ErbPluginReverb" $HOME/Library/Application\ Support/Rack2/log.txt
- name: Check kick
run: grep "Loaded plugin ErbPluginKick" $HOME/Library/Application\ Support/Rack2/log.txt
- name: Check custom
run: grep "Loaded plugin ErbPluginCustom" $HOME/Library/Application\ Support/Rack2/log.txt
- name: Check frohmager
run: grep "Loaded plugin ErbPluginFrohmager" $HOME/Library/Application\ Support/Rack2/log.txt
- name: Check init
run: grep "Loaded plugin ErbPluginInit" $HOME/Library/Application\ Support/Rack2/log.txt
software_max:
name: Software Max/MSP/Gen~
runs-on: macos-12
defaults:
run:
shell: bash -l {0} # Source profile for each step
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: brew install --cask vcv-rack
- name: VCV Rack headless first run
run: /Applications/VCV\ Rack\ 2\ Free.app/Contents/MacOS/Rack -h <<< '\n'
- run: python3 build-system/install.py
- run: erbb setup
- name: test/max
run: erbb configure && erbb build simulator && erbb build && erbb build hardware
working-directory: test/max
- name: test/max2
run: erbb configure && erbb build simulator && erbb build && erbb build hardware
working-directory: test/max2
- name: VCV Rack headless run
run: /Applications/VCV\ Rack\ 2\ Free.app/Contents/MacOS/Rack -h <<< '\n' && cat $HOME/Library/Application\ Support/Rack2/log.txt
- name: Check max
run: grep "Loaded plugin ErbPluginMax" $HOME/Library/Application\ Support/Rack2/log.txt
software_faust:
name: Software Faust
runs-on: macos-12
defaults:
run:
shell: bash -l {0} # Source profile for each step
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: curl https://github.com/grame-cncm/faust/releases/download/2.37.3/Faust-2.37.3-x64.dmg --location --output Faust-2.37.3-x64.dmg
- run: hdiutil attach Faust-2.37.3-x64.dmg
- run: echo 'export PATH=$PATH:/Volumes/Faust-2.37.3/Faust-2.37.3/bin' >> ~/.bash_profile
- run: brew install --cask vcv-rack
- name: VCV Rack headless first run
run: /Applications/VCV\ Rack\ 2\ Free.app/Contents/MacOS/Rack -h <<< '\n'
- run: python3 build-system/install.py
- run: erbb setup
- name: samples/faust
run: erbb configure && erbb build && erbb build hardware && erbb build hardware --only-gerber && erbb build simulator && erbb build simulator --xcode
working-directory: samples/faust
- name: test/faust
run: erbb configure && erbb build simulator && erbb build && erbb build hardware && erbb build simulator --xcode
working-directory: test/faust
- name: test/faust2
run: erbb configure && erbb build simulator && erbb build && erbb build hardware && erbb build simulator --xcode
working-directory: test/faust2
- name: test/faust3
run: erbb configure && erbb build simulator && erbb build && erbb build hardware && erbb build simulator --xcode
working-directory: test/faust3
- name: VCV Rack headless run
run: /Applications/VCV\ Rack\ 2\ Free.app/Contents/MacOS/Rack -h <<< '\n' && cat $HOME/Library/Application\ Support/Rack2/log.txt
- name: Check samples/faust
run: grep "Loaded plugin ErbPluginFlanger" $HOME/Library/Application\ Support/Rack2/log.txt
- name: Check test/faust
run: grep "Loaded plugin ErbPluginFaust" $HOME/Library/Application\ Support/Rack2/log.txt
hardware:
name: Hardware
runs-on: macos-12
defaults:
run:
shell: bash -l {0} # Source profile for each step
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: python3 build-system/install.py
- run: erbb setup
- run: ./boards/kivu12/build.py
unit_tests:
name: Unit Tests
runs-on: macos-12
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: brew install ninja
- run: python3 test/unit/configure.py
- run: python3 test/unit/build.py
- run: python3 test/unit/run.py
erbb_tests:
name: Erbb/Erbui Tests
runs-on: macos-12
defaults:
run:
shell: bash -l {0} # Source profile for each step
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: python3 build-system/install.py
- run: erbb setup
- run: python3 -m pip install coverage
- run: python3 build-system/test.py
- run: python3 build-system/cover.py
- run: python3 test/vcvrack/configure.py
- run: python3 test/vcvrack/build.py