Skip to content

Commit 04c06d5

Browse files
Merge pull request #63 from marcel-licence/add_support_for_more_targets
Update compile-sketch.yml
2 parents 21c8a8d + 115256a commit 04c06d5

File tree

1 file changed

+32
-5
lines changed

1 file changed

+32
-5
lines changed

.github/workflows/compile-sketch.yml

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
- examples/ml_epiano_example
3737
- examples/ml_mod_tracker
3838
- examples/ml_synth_basic_example
39-
- examples/ml_synth_fm_example
39+
#- examples/ml_synth_fm_example
4040
- examples/ml_synth_multi_saw_example
4141
- examples/ml_synth_organ_example
42-
- examples/ml_synth_pwm_osc_example
42+
#- examples/ml_synth_pwm_osc_example
4343
- examples/ml_synth_sampler_example
4444
libraries: |
4545
- source-url: https://github.com/marcel-licence/ML_SynthTools.git
@@ -109,9 +109,8 @@ jobs:
109109
- source-url: https://github.com/marcel-licence/AC101.git
110110
name: AC101
111111
112-
build_rp2040:
113112
114-
if: false
113+
build_rp2040:
115114

116115
name: build rp2040
117116

@@ -126,16 +125,44 @@ jobs:
126125
- name: Checkout repository
127126
uses: actions/checkout@v4
128127

128+
with:
129+
submodules: 'true'
130+
129131
- name: Compile sketch
130132
uses: arduino/compile-sketches@v1
131133
with:
132134
fqbn: ${{ matrix.fqbn }}
135+
cli-compile-flags: |
136+
- --build-property
137+
- "build.usbstack_flags=-DUSE_TINYUSB -I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
133138
platforms: |
134139
- name: rp2040:rp2040
135140
source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
136141
sketch-paths: |
137-
- ./
142+
- examples/ml_epiano_example
143+
- examples/ml_mod_tracker
144+
- examples/ml_synth_basic_example
145+
#- examples/ml_synth_fm_example
146+
- examples/ml_synth_multi_saw_example
147+
- examples/ml_synth_organ_example
148+
#- examples/ml_synth_pwm_osc_example
149+
- examples/ml_synth_sampler_example
138150
libraries: |
151+
- source-url: https://github.com/marcel-licence/ML_SynthTools.git
152+
name: ML_SynthTools
153+
- source-url: https://github.com/marcel-licence/ML_SynthTools_Lib.git
154+
name: ML_SynthTools_Lib
155+
- source-url: https://github.com/adafruit/Adafruit-GFX-Library.git
156+
name: Adafruit_GFX_Library
157+
version: 1.10.10
158+
- source-url: https://github.com/adafruit/Adafruit_SSD1306.git
159+
name: Adafruit_SSD1306
160+
version: 2.4.5
161+
- source-url: https://github.com/adafruit/Adafruit_BusIO.git
162+
name: Adafruit BusIO
163+
version: 1.14.1
164+
- source-url: https://github.com/marcel-licence/AC101.git
165+
name: AC101
139166
- source-url: https://github.com/marcel-licence/ML_SynthTools.git
140167
name: ML_SynthTools
141168
- source-url: https://github.com/FortySevenEffects/arduino_midi_library.git

0 commit comments

Comments
 (0)