Skip to content

Commit 1dadd4b

Browse files
committed
Add ESP32 board to "Compile Examples" CI workflow
ESP32 support has been added to the library, so the examples compilation smoke test should be done for this architecture as well.
1 parent 15ae885 commit 1dadd4b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/compile-examples.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ jobs:
4646
{"fqbn": "arduino:samd:mkrnb1500", "type": "nb"},
4747
{"fqbn": "arduino:mbed:envie_m4", "type": "mbed"},
4848
{"fqbn": "arduino:mbed:envie_m7", "type": "mbed"},
49-
{"fqbn": "esp8266:esp8266:huzzah", "type": "esp8266"}
49+
{"fqbn": "esp8266:esp8266:huzzah", "type": "esp8266"},
50+
{"fqbn": "esp32:esp32:esp32", "type": "esp32"}
5051
]
5152

5253
# make board type-specific customizations to the matrix jobs
@@ -132,6 +133,15 @@ jobs:
132133
source-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
133134
libraries:
134135
sketch-paths:
136+
# ESP32 boards
137+
- board:
138+
type: "esp32"
139+
platforms: |
140+
# Install ESP32 platform via Boards Manager
141+
- name: esp32:esp32
142+
source-url: https://github.com/raw/espressif/arduino-esp32/gh-pages/package_esp32_index.json
143+
libraries:
144+
sketch-paths:
135145

136146
steps:
137147
- name: Checkout

0 commit comments

Comments
 (0)