-
-
Notifications
You must be signed in to change notification settings - Fork 23
141 lines (118 loc) · 3.77 KB
/
teensy-examples-audio-thru_with_scope.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
name: example-audio-thru
on:
push:
paths:
- 'software/src/**'
- 'software/examples/audio/audio_thru_with_scope/**'
- '.github/workflows/**'
- '!**.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: newdigate/teensy-cmake-macros
path: deps/teensy-cmake-macros
- uses: actions/checkout@v2
with:
repository: PaulStoffregen/cores.git
path: deps/cores
fetch-depth: 1
ref: master
- uses: actions/checkout@v2
with:
repository: PaulStoffregen/SD.git
path: deps/SD
fetch-depth: 1
ref: Juse_Use_SdFat
- uses: actions/checkout@v2
with:
repository: greiman/SdFat.git
path: deps/SdFat
fetch-depth: 1
ref: master
- uses: actions/checkout@v2
with:
repository: PaulStoffregen/SPI.git
path: deps/SPI
fetch-depth: 1
ref: master
- uses: actions/checkout@v2
with:
repository: PaulStoffregen/ST7735_t3.git
path: deps/ST7735_t3
fetch-depth: 1
ref: master
- uses: actions/checkout@v2
with:
repository: PaulStoffregen/Audio.git
path: deps/Audio
fetch-depth: 1
ref: master
- uses: actions/checkout@v2
with:
repository: PaulStoffregen/Encoder.git
path: deps/Encoder
fetch-depth: 1
ref: master
- uses: actions/checkout@v2
with:
repository: PaulStoffregen/SerialFlash.git
path: deps/SerialFlash
fetch-depth: 1
ref: master
- uses: actions/checkout@v2
with:
repository: PaulStoffregen/arm_math.git
path: deps/arm_math
ref: master
- uses: actions/checkout@v2
with:
repository: PaulStoffregen/Wire.git
path: deps/Wire
fetch-depth: 1
ref: master
- uses: actions/checkout@v2
with:
repository: newdigate/teensy-audio-libtftscope.git
path: deps/teensy-audio-libtftscope
fetch-depth: 1
ref: main
- uses: actions/checkout@v2
with:
repository: newdigate/teensy-libcurve.git
path: deps/teensy-libcurve
fetch-depth: 1
ref: main
- uses: actions/checkout@v2
with:
repository: thomasfredericks/Bounce2
path: deps/Bounce2
fetch-depth: 1
ref: master
- uses: actions/checkout@v2
with:
repository: dxinteractive/ResponsiveAnalogRead
path: deps/ResponsiveAnalogRead
fetch-depth: 1
ref: master
- uses: actions/checkout@v2
with:
repository: FortySevenEffects/arduino_midi_library
path: deps/arduino_midi_library
fetch-depth: 1
ref: master
- name: download toolchain
run: |
curl -L "https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2" --output /tmp/gcc-arm-none-eabi.tar.bz2
mkdir -p /opt
cd /opt
tar xjf /tmp/gcc-arm-none-eabi.tar.bz2
rm /tmp/gcc-arm-none-eabi.tar.bz2
echo "/opt/gcc-arm-none-eabi-9-2019-q4-major/bin"
- name: install teensy-cmake-macros
run: cd deps/teensy-cmake-macros && mkdir cmake-build-debug && cd cmake-build-debug && cmake -DCMAKE_BUILD_TYPE=Debug .. && sudo make install
- name: build
run: cd software/examples/audio/audio_thru_with_scope && mkdir cmake-build-debug && cd cmake-build-debug && cmake -DCMAKE_BUILD_TYPE=Debug .. && make