-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (44 loc) · 1.05 KB
/
arduino-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
name: Arduino CI
on:
push:
branches:
- main
- devel
tags-ignore:
- '*.*.*'
paths-ignore:
- ".github/**"
- "**/*.adoc"
- "**/*.md"
- "**/*.txt"
- "library.*"
pull_request:
jobs:
compile-examples:
runs-on: ubuntu-latest
strategy:
matrix:
boards:
- arduino:avr:nano
- arduino:megaavr:nona4809
- arduino:samd:nano_33_iot
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Compile Example
uses: arduino/compile-sketches@v1
with:
fqbn: ${{ matrix.boards }}
sketch-paths: |
- examples
# - name: Compile Example for ESP32
# uses: espressif/esp-idf-ci-action@latest
# with:
# target: esp32dev
# path: 'libcli/examples/cli'
- name: Compile Example for STM32
uses: stm32duino/actions/compile-examples@main
with:
board-pattern: 'NUCLEO_F411RE'