-
Notifications
You must be signed in to change notification settings - Fork 82
34 lines (32 loc) · 1.05 KB
/
compile-examples.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
name: Compile Examples
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
env:
LIBRARIES: WiFi101 WiFiNINA
strategy:
matrix:
fqbn: [
"arduino:samd:mkr1000",
"arduino:samd:mkrwifi1010",
"arduino:samd:nano_33_iot",
"arduino:megaavr:uno2018",
'"esp8266:esp8266:huzzah" "https://arduino.esp8266.com/stable/package_esp8266com_index.json"'
]
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: compile-examples for official Arduino boards
if: startsWith(matrix.fqbn, '"esp8266:esp8266') != true
uses: arduino/actions/libraries/compile-examples@master
with:
fqbn: ${{ matrix.fqbn }}
libraries: ${{ env.LIBRARIES }}
- name: compile-examples for ESP8266 boards
if: startsWith(matrix.fqbn, '"esp8266:esp8266')
uses: arduino/actions/libraries/compile-examples@master
with:
fqbn: ${{ matrix.fqbn }}
entrypoint: /github/workspace/.github/workflows/install-python-wrapper.sh