-
-
Notifications
You must be signed in to change notification settings - Fork 4
35 lines (27 loc) · 977 Bytes
/
main.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
name: Compile Sketch
# The workflow will run on every push and pull request to the repository
on:
- push
- pull_request
jobs:
compile-sketch:
runs-on: ubuntu-latest
strategy:
matrix:
fbqn:
- arduino:avr
- arduino:samd:nano_33_iot
steps:
# This step makes the contents of the repository available to the workflow
- name: Checkout repository
uses: actions/checkout@v2
# For more information: https://github.com/arduino/compile-sketches#readme
- name: Compile sketch
uses: arduino/compile-sketches@v1.0.1
with:
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/
libraries: |
- source-path: ./