-
-
Notifications
You must be signed in to change notification settings - Fork 18
37 lines (33 loc) · 890 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
34
35
36
37
name: Compile Examples
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
fqbn:
- arduino:avr:uno
- arduino:avr:nano:cpu=atmega168
- arduino:avr:nano:cpu=atmega328
- arduino:avr:mega:cpu=atmega1280
- arduino:avr:mega:cpu=atmega2560
- arduino:avr:leonardo
steps:
- uses: actions/checkout@v4
- uses: arduino/compile-sketches@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fqbn: ${{ matrix.fqbn }}
sketch-paths: |
- examples/AnalogAndVoltage
- examples/EEPROMCalibration
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: arduino/arduino-lint-action@v1
with:
library-manager: update
compliance: specification