-
Notifications
You must be signed in to change notification settings - Fork 5
108 lines (107 loc) · 2.99 KB
/
build.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
on:
push:
branches:
- main
- develop
paths-ignore:
- .git*
- '**.md'
- 'library.properties'
- 'library.json'
pull_request:
branches:
- main
- develop
paths-ignore:
- .git*
- '**.md'
- 'library.properties'
- 'library.json'
jobs:
build:
name: 'Build Test: ${{matrix.board.arch}}:${{matrix.board.name}}'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
board:
- vendor: arduino
arch: avr
name: uno
- vendor: arduino
arch: megaavr
name: uno2018
- vendor: arduino
arch: samd
name: mkrvidor4000
- vendor: arduino
arch: samd
name: mkrwifi1010
- vendor: arduino
arch: samd
name: mkr1000
- vendor: arduino
arch: samd
name: nano_33_iot
- vendor: esp8266
arch: esp8266
name: generic
- vendor: esp32
arch: esp32
name: esp32
- vendor: esp32
arch: esp32
name: esp32s3
- vendor: esp32
arch: esp32
name: esp32c3
- vendor: rp2040
arch: rp2040
name: rpipicow
- vendor: teensy
arch: avr
name: teensy35
- vendor: teensy
arch: avr
name: teensy36
- vendor: teensy
arch: avr
name: teensy41
include:
- index: https://downloads.arduino.cc/packages/package_index.json
board:
vendor: arduino
- index: https://arduino.esp8266.com/stable/package_esp8266com_index.json
board:
vendor: esp8266
- index: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
board:
vendor: esp32
- index: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
board:
vendor: rp2040
- index: https://www.pjrc.com/teensy/package_teensy_index.json
board:
vendor: teensy
steps:
- uses: actions/checkout@v4
- uses: arduino/arduino-lint-action@v1
with:
library-manager: update
- name: compile example sketchs
uses: arduino/compile-sketches@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fqbn: ${{matrix.board.vendor}}:${{matrix.board.arch}}:${{matrix.board.name}}
platforms: |
- name: ${{matrix.board.vendor}}:${{matrix.board.arch}}
source-url: ${{matrix.index}}
sketch-paths: |
- examples
libraries: |
- source-path: ./
- name: ArxContainer
- name: ArxSmartPtr
- name: DebugLog
- name: PollingTimer
verbose: true