-
-
Notifications
You must be signed in to change notification settings - Fork 39
48 lines (43 loc) · 1.13 KB
/
compile-arduino.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
name: Compile Examples
on:
push:
branches:
- master
paths:
- "src/**"
- "examples/**"
- ".github/workflows/compile-arduino.yml"
pull_request:
paths:
- "src/**"
- "examples/**"
- ".github/workflows/compile-arduino.yml"
jobs:
compile:
runs-on: ubuntu-latest
strategy:
matrix:
board:
- fqbn: arduino:avr:uno
artifact-name-suffix: arduino-avr-uno
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Compile sketches
uses: arduino/compile-sketches@v1
with:
fqbn: ${{ matrix.board.fqbn }}
enable-deltas-report: true
enable-warnings-report: true
sketches-report-path: sketches-reports
libraries: |
- source-path: ./
- name: Button
- name: FreeRTOS
- name: SimpleRotary
- name: LiquidCrystal I2C
- name: Upload sketches reports
uses: actions/upload-artifact@v4
with:
name: sketches-report-${{ matrix.board.artifact-name-suffix }}
path: sketches-reports