forked from G4lile0/ESP32-WiFi-Hash-Monster
-
-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (39 loc) · 1.52 KB
/
BuildArduino.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
name: Arduino CI
on:
push: # see: https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request
paths:
- '**.ino'
- '**.cpp'
- '**.h'
- '**BuildArduino.yml'
pull_request:
jobs:
build:
name: ${{ matrix.arduino-boards-fqbn }} - test compiling ESP32-WiFi-Hash-Monster on Arduino
runs-on: ubuntu-latest
strategy:
matrix:
arduino-boards-fqbn:
- esp32:esp32:m5stack-fire
- esp32:esp32:m5stack-core-esp32
- esp32:esp32:m5stack-core2
- esp32:esp32:odroid_esp32
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Compile all examples
uses: ArminJo/arduino-test-compile@v3
with:
arduino-board-fqbn: ${{ matrix.arduino-boards-fqbn }}
sketch-names: ESP32-WiFi-Hash-Monster.ino
platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
#platform-default-url: ${{ env.PLATFORM_DEFAULT_URL }}
#platform-url: ${{ matrix.platform-url }}
#required-libraries: ${{ matrix.required-libraries }}
#sketch-names: ${{ matrix.sketch-names }}
#sketches-exclude: ${{ matrix.sketches-exclude }}
#build-properties: ${{ toJson(matrix.build-properties) }}