Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-platformio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
ESP8266_ARDUINO_BUILDER: "platformio"
run: |
pip install -U platformio
env ESP8266_ARDUINO_SKETCHES="$(find libraries/ -name '*.ino' | shuf -n 10 -)" bash ./tests/build.sh
env ESP8266_ARDUINO_SKETCHES="$(find libraries/ -name '*.ino' | grep -e libraries/esp8266/examples -e SoftwareSerial)" bash ./tests/build.sh
9 changes: 4 additions & 5 deletions tests/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -449,9 +449,6 @@ function install_platformio()

# pre-generate config; pio-ci with multiple '-O' options replace each other instead of appending to the same named list
cat <<EOF > $cache_dir/platformio.ini
[platformio]
lib_dir =
${ESP8266_ARDUINO_LIBRARIES}
[env:$board]
platform = espressif8266
board = $board
Expand All @@ -461,6 +458,8 @@ platform_packages =
${toolchain_symlink}
EOF

cat $cache_dir/platformio.ini

echo $ci_end_group
}

Expand Down Expand Up @@ -498,8 +497,8 @@ function build_sketches_with_platformio()
sketchdir=$(dirname $sketch)

local result
time pio ci \
--verbose \
env PLATFORMIO_LIB_DIR="${ESP8266_ARDUINO_LIBRARIES}" \
time pio ci \
--project-conf $cache_dir/platformio.ini \
$sketchdir >$cache_dir/build.log 2>&1 \
&& result=0 || result=1
Expand Down