Skip to content

Commit 78d1a0f

Browse files
added adruino workflow
1 parent 9794c65 commit 78d1a0f

2 files changed

Lines changed: 27 additions & 23 deletions

File tree

.github/workflows/arduino.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Arduino CI
2+
3+
on: [push, pull_request, workflow_dispatch]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
board: [esp32dev, nodemcu]
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Setup Arduino CLI
17+
uses: arduino/setup-arduino-cli@v1
18+
with:
19+
enable-ini-overrides: true
20+
21+
- name: Install ESP32 Board
22+
run: |
23+
arduino-cli core update-index
24+
arduino-cli core install esp32:esp32
25+
26+
- name: Compile ESP-IoT-WebControl
27+
run: arduino-cli compile --fqbn esp32:esp32:esp32dev ESP-IoT-WebControl.ino

.github/workflows/c-cpp.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)