Fix CI Builds for Linux (#3313)

This commit is contained in:
Me No Dev
2019-10-01 23:13:08 +03:00
committed by GitHub
parent c8e3f0c732
commit 85c77a9c3f
2 changed files with 11 additions and 16 deletions

6
.github/scripts/install-arduino-core-esp32.sh vendored Normal file → Executable file
View File

@ -18,7 +18,7 @@ if [ ! -d "$ARDUINO_ESP32_PATH" ]; then
fi
cd esp32 && \
echo "Updating submodules..." && \
echo "Updating Submodules..." && \
git submodule update --init --recursive > /dev/null 2>&1
if [ $? -ne 0 ]; then echo "ERROR: Submodule update failed"; exit 1; fi
@ -32,8 +32,8 @@ if [ ! -d "$ARDUINO_ESP32_PATH" ]; then
if [ $? -ne 0 ]; then echo "ERROR: Install failed"; exit 1; fi
fi
echo "Downloading the tools and the toolchain..."
cd tools && python get.py > /dev/null
echo "Installing Platform Tools..."
cd tools && python get.py
if [ $? -ne 0 ]; then echo "ERROR: Download failed"; exit 1; fi
cd $script_init_path