-
-
Notifications
You must be signed in to change notification settings - Fork 40
35 lines (30 loc) · 1.08 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
name: Compile Examples
on: [pull_request]
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: ${{ vars.SKETCHES_REPORTS_PATH || 'sketches-reports' }}
libraries: |
- source-path: ./
- source-url: https://github.com/johnrickman/LiquidCrystal_I2C.git
- source-url: https://github.com/feilipu/Arduino_FreeRTOS_Library.git
- source-url: https://github.com/mprograms/SimpleRotary.git
- name: Upload sketches reports
uses: actions/upload-artifact@v4
with:
name: sketches-report-${{ matrix.board.artifact-name-suffix }}
path: ${{ vars.SKETCHES_REPORTS_PATH || 'sketches-reports' }}