Skip to content

Commit 20a4d64

Browse files
committed
libs
1 parent 34d03ad commit 20a4d64

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/arduino.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: arduino
2+
on: [ push, pull_request ]
3+
4+
jobs:
5+
build-for-esp32:
6+
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
fqbn:
10+
- esp32:esp32:esp32
11+
- esp32:esp32:esp32s3
12+
- esp32:esp32:esp32c3
13+
# future bluetooth chips
14+
#- esp32:esp32:esp32c2
15+
#- esp32:esp32:esp32c6
16+
#- esp32:esp32:esp32h2
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
- uses: arduino/compile-sketches@v1
21+
with:
22+
github-token: ${{ secrets.GITHUB_TOKEN }}
23+
fqbn: ${{ matrix.fqbn }}
24+
platforms: |
25+
- name: esp32:esp32
26+
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
27+
sketch-paths: |
28+
- bitcoinSwitch
29+
libraries: |
30+
- name: WebSockets
31+
- name: ArduinoJson
32+
cli-compile-flags: |
33+
- --warnings="none"

0 commit comments

Comments
 (0)