Skip to content

Commit c0f886a

Browse files
update2
1 parent bca3280 commit c0f886a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/arduino.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,27 @@ jobs:
1818
with:
1919
enable-ini-overrides: true
2020

21-
- name: Install Boards
21+
# FIX: ESP8266 board manager URL
22+
- name: Add ESP8266 Boards URL
23+
run: arduino-cli config add board_manager.additional_urls https://arduino.esp8266.com/stable/package_esp8266com_index.json
24+
25+
- name: Install ESP Boards
2226
run: |
2327
arduino-cli core update-index
2428
arduino-cli core install esp32:esp32
2529
arduino-cli core install esp8266:esp8266
26-
30+
2731
- name: Install Libraries
2832
run: |
2933
arduino-cli lib update-index
3034
arduino-cli lib install "ESPAsyncWebServer@1.2.3"
3135
arduino-cli lib install "AsyncTCP@1.1.1"
3236
33-
- name: Compile main.ino for ESP32
37+
- name: Compile main.ino - ESP32
3438
run: arduino-cli compile --fqbn esp32:esp32:esp32dev main.ino
3539

36-
- name: Compile main.ino for ESP8266
40+
- name: Compile main.ino - ESP8266 NodeMCU
3741
run: arduino-cli compile --fqbn esp8266:esp8266:nodemcuv2 main.ino
3842

39-
- name: Show sketch size
43+
- name: Sketch Info
4044
run: arduino-cli compile --fqbn esp32:esp32:esp32dev main.ino --verbose

0 commit comments

Comments
 (0)