-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (43 loc) · 1.1 KB
/
CI.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: CI
on:
- push
- pull_request
env:
GLOBAL_LIBS: |
- source-path: ./
- name: WiFi
- name: WebSockets
- name: Ethernet
- name: MsgPack
jobs:
build-for-arduino:
runs-on: ubuntu-latest
strategy:
matrix:
fqbn:
- arduino:renesas_uno:unor4wifi
steps:
- uses: actions/checkout@v3
- uses: arduino/compile-sketches@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fqbn: ${{ matrix.fqbn }}
libraries: ${{env.GLOBAL_LIBS}}
build-for-esp32:
runs-on: ubuntu-latest
strategy:
matrix:
fqbn:
- esp32:esp32:esp32
steps:
- uses: actions/checkout@v3
- uses: arduino/compile-sketches@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fqbn: ${{ matrix.fqbn }}
platforms: |
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
cli-compile-flags: |
- --warnings="none"
libraries: ${{env.GLOBAL_LIBS}}