change cli

This commit is contained in:
Aurélien Gauthier 2025-12-10 13:32:52 +01:00
parent d83cbfe2ae
commit ba39b4c849
2 changed files with 2 additions and 9 deletions

View file

@ -19,7 +19,7 @@ pio_build:
before_script: before_script:
- pip install -U platformio - pip install -U platformio
- pio lib install --global "ThrowTheSwitch/Unity@^2.6.0" - pio lib install "ThrowTheSwitch/Unity@^2.6.0"
script: script:
- "pio run -e $ARDUINO_ENV" - "pio run -e $ARDUINO_ENV"

View file

@ -16,18 +16,11 @@ test_framework = unity
;upload_port = /dev/ttyACM0 ;upload_port = /dev/ttyACM0
build_flags = build_flags =
-std=gnu++17 -std=gnu++17
-I lib/ -I lib/ test/
;-D DEBUG ;-D DEBUG
lib_deps = lib_deps =
northernwidget/DS3231@^1.1.2 northernwidget/DS3231@^1.1.2
arduino-libraries/Ethernet arduino-libraries/Ethernet
robtillaart/CRC robtillaart/CRC
test_lib_deps =
ThrowTheSwitch/Unity@^2.6.0
test_build_flags =
${env.build_flags}
-I test
lib_ldf_mode = deep+ lib_ldf_mode = deep+