Github workflow: Enable all compiler warnings

So regressions have a chance of being spotted.
Sadly, there does not seem to be a flag to enable -Werror, so the CI will
succeed even with warnings.
This commit is contained in:
Vincent Pelletier 2022-11-05 00:42:55 +00:00
parent e334edb4e5
commit bfbbe922ad

View File

@ -47,4 +47,4 @@ jobs:
cd Cart_Reader/
# Select hardware version by uncommenting it (using regular expression)
sed -i 's/^\/\/[\t ]*#define ${{ matrix.hwVersion }}/#define ${{ matrix.hwVersion }}/g' Cart_Reader.ino
arduino-cli compile --fqbn arduino:avr:mega
arduino-cli compile --fqbn arduino:avr:mega --warnings all