Skip to content

Commit 38a75be

Browse files
authored
Build library and examples on CI (#13)
1 parent bb7c2ca commit 38a75be

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/build-examples.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build examples
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build-examples:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
board:
11+
- platform: arduino:avr
12+
name: uno
13+
url: http://downloads.arduino.cc/packages/package_index.json
14+
- platform: ATTinyCore:avr
15+
name: attinyx5
16+
url: http://drazzy.com/package_drazzy.com_index.json
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Compile library examples
21+
uses: arduino/compile-sketches@main
22+
with:
23+
platforms: |
24+
- name: ${{ matrix.board.platform }}
25+
source-url: ${{ matrix.board.url }}
26+
fqbn: ${{ matrix.board.platform }}:${{ matrix.board.name }}

0 commit comments

Comments
 (0)