mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-23 13:09:17 +01:00
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:
parent
e334edb4e5
commit
bfbbe922ad
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -47,4 +47,4 @@ jobs:
|
|||||||
cd Cart_Reader/
|
cd Cart_Reader/
|
||||||
# Select hardware version by uncommenting it (using regular expression)
|
# Select hardware version by uncommenting it (using regular expression)
|
||||||
sed -i 's/^\/\/[\t ]*#define ${{ matrix.hwVersion }}/#define ${{ matrix.hwVersion }}/g' Cart_Reader.ino
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user