Ignore 'unused-variable' warnings as well

This commit is contained in:
Kristian Sloth Lauszus 2021-03-23 13:34:15 +01:00
parent f31bca66d5
commit 3be8da5ff6

View file

@ -42,7 +42,7 @@ jobs:
pio ci --lib="." --board=due --project-option="build_flags=-Wno-misleading-indentation" pio ci --lib="." --board=due --project-option="build_flags=-Wno-misleading-indentation"
# Ignore warnings in the Arduino core # Ignore warnings in the Arduino core
pio ci --lib="." --board=adafruit_feather_nrf52840 --project-option="build_flags=-Wno-sign-compare -Wno-unused-function" pio ci --lib="." --board=adafruit_feather_nrf52840 --project-option="build_flags=-Wno-sign-compare -Wno-unused-function -Wno-unused-variable"
env: env:
PLATFORMIO_CI_SRC: ${{ matrix.example }} PLATFORMIO_CI_SRC: ${{ matrix.example }}
PLATFORMIO_BUILD_FLAGS: -DWIICAMERA -DDEBUG_USB_HOST -Wall -Werror PLATFORMIO_BUILD_FLAGS: -DWIICAMERA -DDEBUG_USB_HOST -Wall -Werror