-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (43 loc) · 1.05 KB
/
test-build.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
46
name: Build
on:
pull_request:
paths:
- '**.ino'
- '**.cpp'
- '**.h'
- '**.yml'
push:
paths:
- '**.ino'
- '**.cpp'
- '**.h'
- '**.yml'
env:
ARTIFACT_FOLDER: artifact
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Compile sketches
uses: arduino/compile-sketches@v1
with:
fqbn: esp32:esp32:esp32
platforms: |
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
sketch-paths: |
- beastie.ino
libraries: |
- name: Watchy
version: latest
- name: GxEPD2
version: latest
cli-compile-flags: |
- --export-binaries
- --build-property
- build.partitions=min_spiffs
- --build-property
- upload.maximum_size=1966080
enable-deltas-report: true