-
Notifications
You must be signed in to change notification settings - Fork 9
31 lines (28 loc) · 911 Bytes
/
Copy pathcompile-examples.yml
File metadata and controls
31 lines (28 loc) · 911 Bytes
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
name: Compile Examples
on:
- push
- pull_request
jobs:
build-for-avr:
runs-on: ubuntu-latest
strategy:
matrix:
fqbn:
- arduino:avr:mega:cpu=atmega2560
steps:
- uses: actions/checkout@v4
- uses: arduino/compile-sketches@v1
with:
fqbn: ${{ matrix.fqbn }}
sketch-paths: |
# Configure the action to search all folders under the root of the repository for sketches and compile them.
# This is formatted as a YAML list, which makes it possible to have multiple sketch paths if needed.
- examples/Advanced
- examples/Agent
- examples/Manager
- examples/MPOD
libraries: |
# Install the library from the local path.
- source-path: ./
# Additional library dependencies can be listed here.
- name: Ethernet