-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 1.17 KB
/
build.yaml
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
# see: https://github.com/marketplace/actions/test-compile-for-arduino
name: build
on: [push, pull_request]
jobs:
build:
name: build for MCU
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout NMEA2000 library
uses: actions/checkout@v4
with:
repository: ttlappalainen/NMEA2000
ref: master
path: CustomLibrary_NMEA2000 # must contain string "Custom"
- name: Checkout M5Atom library
uses: actions/checkout@v4
with:
repository: m5stack/M5Atom
ref: 825ddb24dcaf9e7bc1b533ed25af424dcc9fafed
path: CustomLibrary_M5Atom # must contain string "Custom"
- name: Compile sketch
uses: ArminJo/arduino-test-compile@v3
with:
arduino-board-fqbn: esp32:esp32:m5stack_atom
platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
sketch-names: "*.ino"
sketch-names-find-start: bbn-*/*
extra-arduino-cli-args: "--warnings default"
set-build-path: true