From 34196ec876a733580c24fa1a6eb72ecc7c63f270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20pidpawel=20Kozubal?= Date: Tue, 6 Oct 2020 12:51:52 +0200 Subject: [PATCH] Fix CI --- .github/scripts/install-platformio.sh | 2 +- .github/scripts/on-push.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/scripts/install-platformio.sh b/.github/scripts/install-platformio.sh index 61c94fec..eb2c59b2 100644 --- a/.github/scripts/install-platformio.sh +++ b/.github/scripts/install-platformio.sh @@ -22,7 +22,7 @@ function build_pio_sketch(){ # build_pio_sketch local sketch_dir=$(dirname "$sketch") echo "" echo "Compiling '"$(basename "$sketch")"' ..." - python -m platformio ci -l '.' --board "$board" "$sketch_dir" --project-option="board_build.partitions = huge_app.csv" + python -m platformio ci -l '.' -l "$HOME/ESPAsyncWebServer" --board "$board" "$sketch_dir" --project-option="board_build.partitions = huge_app.csv" } function count_sketches() # count_sketches diff --git a/.github/scripts/on-push.sh b/.github/scripts/on-push.sh index ece5d7a4..b2a93c50 100755 --- a/.github/scripts/on-push.sh +++ b/.github/scripts/on-push.sh @@ -53,11 +53,11 @@ else if [[ "$OSTYPE" != "cygwin" ]] && [[ "$OSTYPE" != "msys" ]] && [[ "$OSTYPE" != "win32" ]]; then echo "Installing ESPAsyncWebServer ..." - python -m platformio lib -g install https://github.com/me-no-dev/ESPAsyncWebServer.git > /dev/null 2>&1 + # python -m platformio lib -g install https://github.com/me-no-dev/ESPAsyncWebServer.git > /dev/null 2>&1 git clone https://github.com/me-no-dev/ESPAsyncWebServer "$HOME/ESPAsyncWebServer" > /dev/null 2>&1 - echo "Installing ArduinoJson ..." - python -m platformio lib -g install https://github.com/bblanchon/ArduinoJson.git > /dev/null 2>&1 + # echo "Installing ArduinoJson ..." + # python -m platformio lib -g install https://github.com/bblanchon/ArduinoJson.git > /dev/null 2>&1 build_pio_sketches "$BOARD" "$HOME/ESPAsyncWebServer/examples" fi