File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ language: generic
22env :
33 global :
44 - CLI_VERSION=latest
5+ - EXTRA_COMPILER_WARNING_FLAGS="-Wpedantic -Werror"
56matrix :
67 include :
78 - env :
@@ -60,8 +61,8 @@ before_install:
6061 - arduino-cli lib install WiFi101
6162 - arduino-cli lib install WiFiNINA
6263 - arduino-cli lib install Ethernet
63- - buildExampleSketch() { arduino-cli compile --warnings all --fqbn $BOARD $PWD/examples/$1; }
64- - buildExampleUtilitySketch() { arduino-cli compile --warnings all --fqbn $BOARD $PWD/examples/utility/$1; }
64+ - buildExampleSketch() { arduino-cli compile --warnings all --build-properties compiler.c.extra_flags="${EXTRA_COMPILER_WARNING_FLAGS}" --build-properties compiler.cpp.extra_flags="${EXTRA_COMPILER_WARNING_FLAGS}" --build-properties compiler.S.extra_flags="${EXTRA_COMPILER_WARNING_FLAGS}" -- fqbn $BOARD $PWD/examples/$1; }
65+ - buildExampleUtilitySketch() { arduino-cli compile --warnings all --build-properties compiler.c.extra_flags="${EXTRA_COMPILER_WARNING_FLAGS}" --build-properties compiler.cpp.extra_flags="${EXTRA_COMPILER_WARNING_FLAGS}" --build-properties compiler.S.extra_flags="${EXTRA_COMPILER_WARNING_FLAGS}" -- fqbn $BOARD $PWD/examples/utility/$1; }
6566install :
6667 - mkdir -p $HOME/Arduino/libraries
6768 - ln -s $PWD $HOME/Arduino/libraries/.
You can’t perform that action at this time.
0 commit comments