Skip to content

Add fatfs support

Add fatfs support #6

Workflow file for this run

name: macOS 13
on:
pull_request:
branches: [ main ]
jobs:
software_cpp:
name: Software C++
runs-on: macos-13
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-13
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-13
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-13
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-13
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-13
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