Skip to content

Merge pull request #40 from jasonacox/v1.11.0 #59

Merge pull request #40 from jasonacox/v1.11.0

Merge pull request #40 from jasonacox/v1.11.0 #59

Workflow file for this run

# Test Arduino Library
name: Build Test
# The workflow will run on every push and pull request to the repository
on:
- push
- pull_request
jobs:
compile-sketch:
runs-on: ubuntu-latest
# Boards to test
strategy:
matrix:
fqbn:
- arduino:avr:uno
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 example sketches
uses: arduino/compile-sketches@v1
with:
# Board type to test
fqbn: ${{ matrix.fqbn }}
# The default is to compile for the Arduino Uno board. If you want to compile for other boards, use the `fqbn` input.
sketch-paths: |
# Search all files under the examples path in 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