generated from fxwiegand/terrarium-stand
-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (33 loc) · 896 Bytes
/
cpp.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
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
env:
PEDAL_NAME: pitch_shifter
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Install arm-none-eabi-gcc toolchain
uses: fiam/arm-none-eabi-gcc@v1
with:
release: '9-2019-q4'
- name: Build Daisy libraries
run: |
make -C libDaisy
make -C DaisySP
- name: Build binary for pedal
run: |
make -C $PEDAL_NAME
- name: Upload binary for terrarium
uses: actions/[email protected]
with:
name: Binary for terrarium
# A file, directory or wildcard pattern that describes what to upload
path: ${{ env.PEDAL_NAME }}/build/${{ env.PEDAL_NAME }}.bin