-
Notifications
You must be signed in to change notification settings - Fork 1
65 lines (63 loc) · 1.65 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Arduino CI
on:
push:
branches:
- main
- devel
tags-ignore:
- '*.*.*'
paths-ignore:
- ".github/**"
- "**/*.adoc"
- "**/*.md"
- "**/*.txt"
- "library.*"
- "**/*.asm"
- "**/*.inc"
- "**/*.hex"
- "**/*.s19"
- "**/*.s28"
pull_request:
jobs:
compile-examples:
name: 'Compile for ${{matrix.board.name}}'
runs-on: ubuntu-latest
strategy:
matrix:
board:
- vendor: MightyCore
arch: avr
name: 1284
# - vendor: DxCore
# arch: megaavr
# name: avrda
- vendor: teensy
arch: avr
name: teensy41
include:
- index: https://mcudude.github.io/MightyCore/package_MCUdude_MightyCore_index.json
board:
vendor: MightyCore
# - index: https://drazzy.com/package_drazzy.com_index.json
# board:
# vendor: DxCore
- index: https://www.pjrc.com/teensy/package_teensy_index.json
board:
vendor: teensy
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Compile examples
uses: arduino/compile-sketches@v1
with:
cli-version: "0.33.0"
fqbn: ${{matrix.board.vendor}}:${{matrix.board.arch}}:${{matrix.board.name}}
platforms: |
- source-url: ${{matrix.index}}
name: ${{matrix.board.vendor}}:${{matrix.board.arch}}
sketch-paths: |
- examples
libraries: |
- source-path: ./
- name: libcli
version: 1.3.0