-
Notifications
You must be signed in to change notification settings - Fork 15
41 lines (39 loc) · 1.14 KB
/
arduino_checks.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
name: Arduino Checks
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
Arduino-Checks:
uses: sensirion/.github/.github/workflows/upt.arduino.check.yml@main
with:
expect-arduino-examples: false
lint-lib-manager-check: update
Compile-Test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
arduino-boards-fqbn:
- arduino:avr:uno
- arduino:avr:nano
- arduino:avr:mega
- arduino:samd:mkrzero
- esp8266:esp8266:generic
- esp32:esp32:esp32
include:
- arduino-boards-fqbn: esp8266:esp8266:generic
platform-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
- arduino-boards-fqbn: esp32:esp32:esp32
platform-url: https://dl.espressif.com/dl/package_esp32_index.json
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Compile all examples
uses: ArminJo/arduino-test-compile@v3
with:
arduino-board-fqbn: ${{ matrix.arduino-boards-fqbn }}
platform-url: ${{ matrix.platform-url }}