Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Fix CI #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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/scripts/install-platformio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function build_pio_sketch(){ # build_pio_sketch <board> <path-to-ino>
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 <examples-path>
Expand Down
6 changes: 3 additions & 3 deletions .github/scripts/on-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down