remove retry
This commit is contained in:
parent
7fef8ec6c7
commit
5fb3dd5daf
15
.drone.yml
15
.drone.yml
|
|
@ -27,19 +27,8 @@ steps:
|
|||
# ESP32 パッケージインデックスの更新と 2.0.14 のインストール
|
||||
- arduino-cli config init --overwrite
|
||||
- arduino-cli config set board_manager.additional_urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
|
||||
- arduino-cli config set network.connection_timeout 300s
|
||||
- |
|
||||
for i in $(seq 1 5); do
|
||||
arduino-cli core update-index && break
|
||||
if [ "$i" = 5 ]; then exit 1; fi
|
||||
echo "update-index retry $i failed, waiting..."; sleep 10
|
||||
done
|
||||
- |
|
||||
for i in $(seq 1 5); do
|
||||
arduino-cli core install esp32:esp32@2.0.14 && break
|
||||
if [ "$i" = 5 ]; then exit 1; fi
|
||||
echo "core install retry $i failed, waiting..."; sleep 10
|
||||
done
|
||||
- arduino-cli core update-index
|
||||
- arduino-cli core install esp32:esp32@2.0.14
|
||||
# ライブラリのインストール
|
||||
- mkdir -p /root/Arduino/libraries
|
||||
- git clone https://github.com/pschatzmann/ESP32-A2DP.git /root/Arduino/libraries/ESP32-A2DP
|
||||
|
|
|
|||
Loading…
Reference in New Issue