File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 2626 - PLATFORMIO_CI_SRC=examples/Callbacks
2727 - PLATFORMIO_CI_SRC=examples/DualMerger
2828 - PLATFORMIO_CI_SRC=examples/Input
29- - PLATFORMIO_CI_SRC=examples/MidiUSB PLATFORMIO_CI_EXTRA_ARGS="--lib=external/midi-usb/src"
29+ - PLATFORMIO_CI_SRC=examples/MidiUSB REQUIRES_USB=1
3030 - PLATFORMIO_CI_SRC=examples/RPN_NRPN
3131 - PLATFORMIO_CI_SRC=examples/SimpleSynth
3232
@@ -74,7 +74,11 @@ script:
7474 # Build current example
7575 - |
7676 if [ ! "${BUILD_UNIT_TESTS}" ]; then
77- platformio ci --lib="." --board=uno --board="due" --board="zero" --board="leonardo" $PLATFORMIO_CI_EXTRA_ARGS
77+ if [ "${REQUIRES_USB}"]; then
78+ platformio ci --lib="." --lib=external/midi-usb --board="due" --board="zero" --board="leonardo"
79+ else
80+ platformio ci --lib="." --board=uno --board="due" --board="zero" --board="leonardo"
81+ fi
7882 fi
7983
8084after_success :
You can’t perform that action at this time.
0 commit comments