-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (36 loc) · 919 Bytes
/
tests.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
name: Build Tests
on:
pull_request:
branches:
- main
schedule:
- cron: "0 4 * * 4"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Arduino cli
uses: arduino/setup-arduino-cli@v2
- name: Install libraries
run: |
arduino-cli lib install IBusBM Servo
- name: Lint project
uses: arduino/arduino-lint-action@v2
with:
path: ./lawndon
library-manager: update
- name: Compile Lawndon
uses: arduino/compile-sketches@v1
with:
fqbn: "arduino:avr:mega"
libraries: |
- name: IBusBM
- name: Servo
sketch-paths: |
- ./lawndon
enable-warnings-report: true
verbose: false
cli-compile-flags: |
- --export-binaries