From bfbbe922add8f6648cac04f1740b2cfb04092efd Mon Sep 17 00:00:00 2001 From: Vincent Pelletier Date: Sat, 5 Nov 2022 00:42:55 +0000 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb46d1a..ac92ff4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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