Skip to content

Commit d6d339f

Browse files
committed
Arduino build
1 parent 6664b20 commit d6d339f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/arduino.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Arduino Build
2+
3+
# The workflow will run on every push and pull request to the repository
4+
on:
5+
- push
6+
- pull_request
7+
8+
jobs:
9+
compile-sketch:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
14+
- name: Checkout repository
15+
uses: actions/checkout@v3
16+
17+
- name: Compile sketch
18+
uses: arduino/compile-sketches@v1
19+
with:
20+
# github-token: ${{ secrets.GITHUB_TOKEN }}
21+
fqbn: esp32:esp32:esp32
22+
platforms: |
23+
- name: esp32:esp32
24+
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
25+
#sketch-paths: |
26+
#- examples/HTTP/HTTP/HTTP.ino
27+
#cli-compile-flags: |
28+
#- --warnings="none"

0 commit comments

Comments
 (0)