-
-
Notifications
You must be signed in to change notification settings - Fork 7
34 lines (28 loc) · 1.14 KB
/
testcode.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
name: LibraryBuild
on:
push: # see: https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request
paths:
- '**.ino'
- '**.cpp'
- '**.h'
- '**testcode.yml'
pull_request:
jobs:
build:
name: test compiling examples
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Compile all examples
uses: ArminJo/arduino-test-compile@v3
with:
arduino-board-fqbn: esp32:esp32:esp32:DebugLevel=verbose,FlashMode=dio,FlashFreq=80,FlashSize=4M
platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
sketch-names: gettingstarted.ino , gettingstartedRGBW.ino # Comma separated list of sketch names (no path required) or patterns to use in build
board-name: esp32
set-build-path: true # build in the sketch folder
#build-properties: ${{ toJson(matrix.build-properties) }}
#extra-arduino-cli-args: ${{ matrix.extra-arduino-cli-args }}