File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 36
36
ESP8266_ARDUINO_BUILDER : " platformio"
37
37
run : |
38
38
pip install -U platformio
39
- env ESP8266_ARDUINO_SKETCHES="$(find libraries/ -name '*.ino' | shuf -n 10 - )" bash ./tests/build.sh
39
+ env ESP8266_ARDUINO_SKETCHES="$(find libraries/ -name '*.ino' | grep -e libraries/esp8266/examples -e SoftwareSerial )" bash ./tests/build.sh
Original file line number Diff line number Diff line change @@ -449,9 +449,6 @@ function install_platformio()
449
449
450
450
# pre-generate config; pio-ci with multiple '-O' options replace each other instead of appending to the same named list
451
451
cat << EOF > $cache_dir /platformio.ini
452
- [platformio]
453
- lib_dir =
454
- ${ESP8266_ARDUINO_LIBRARIES}
455
452
[env:$board ]
456
453
platform = espressif8266
457
454
board = $board
@@ -461,6 +458,8 @@ platform_packages =
461
458
${toolchain_symlink}
462
459
EOF
463
460
461
+ cat $cache_dir /platformio.ini
462
+
464
463
echo $ci_end_group
465
464
}
466
465
@@ -498,8 +497,8 @@ function build_sketches_with_platformio()
498
497
sketchdir=$( dirname $sketch )
499
498
500
499
local result
501
- time pio ci \
502
- --verbose \
500
+ env PLATFORMIO_LIB_DIR= " ${ESP8266_ARDUINO_LIBRARIES} " \
501
+ time pio ci \
503
502
--project-conf $cache_dir /platformio.ini \
504
503
$sketchdir > $cache_dir /build.log 2>&1 \
505
504
&& result=0 || result=1
You can’t perform that action at this time.
0 commit comments