-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (26 loc) · 841 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Build Arduino Sketch
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Install Arduino CLI
run: |
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
shell: bash
- name: Install required libraries
run: |
arduino-cli lib install "ArduinoJson"
arduino-cli lib install "TFT_eSPI"
arduino-cli lib install "WiFiManager"
shell: bash
- uses: arduino/compile-sketches@v1
with:
fqbn: "esp32:esp32:tinypico"
platforms: |
- name: esp32:esp32
source-url: https://dl.espressif.com/dl/package_esp32_index.json
sketch-paths: |
- sketch