Skip to content

Commit 122a9d6

Browse files
committed
arduino-cli lib install --git-url
1 parent ae9bfb5 commit 122a9d6

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,18 @@ jobs:
7878
arduino-cli core update-index
7979
arduino-cli core install esp32:esp32
8080
81+
- name: Install libraries
82+
run: |
83+
arduino-cli lib update-index
84+
if [ ! -d "${HOME}/Arduino/libraries/ESPBufferManager" ]; then
85+
arduino-cli lib install --git-url https://github.com/ESPToolKit/esp-buffer-manager.git || \
86+
git clone --depth 1 https://github.com/ESPToolKit/esp-buffer-manager.git "${HOME}/Arduino/libraries/ESPBufferManager"
87+
fi
88+
if [ ! -d "${HOME}/Arduino/libraries/ESPWorker" ]; then
89+
arduino-cli lib install --git-url https://github.com/ESPToolKit/esp-worker.git || \
90+
git clone --depth 1 https://github.com/ESPToolKit/esp-worker.git "${HOME}/Arduino/libraries/ESPWorker"
91+
fi
92+
8193
- name: Add local library to sketchbook
8294
run: |
8395
set -e

0 commit comments

Comments
 (0)