-
Notifications
You must be signed in to change notification settings - Fork 3
47 lines (47 loc) · 1.43 KB
/
Copy pathtest.yaml
File metadata and controls
47 lines (47 loc) · 1.43 KB
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
name: test
on:
push:
branches-ignore:
- master
paths-ignore:
- .git*
- '**.md'
- '*.properties'
pull_request:
branches:
- master
paths-ignore:
- .git*
- '**.md'
- '*.properties'
jobs:
test:
name: 'test: ${{matrix.board.name}}'
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
board:
- vendor: arduino
arch: avr
name: uno
- vendor: arduino
arch: samd
name: arduino_zero_native
- vendor: arduino
arch: renesas_uno
name: minima
include:
- index: https://downloads.arduino.cc/packages/package_index.json
board:
vendor: arduino
steps:
- name: clone repository
uses: actions/checkout@v4
- name: install arduino and run test
uses: arduino/compile-sketches@v1
with:
fqbn: ${{matrix.board.vendor}}:${{matrix.board.arch}}:${{matrix.board.name}}
platforms: |-
- name: ${{matrix.board.vendor}}:${{matrix.board.arch}}
source-url: ${{matrix.index}}