Skip to content

Commit

Permalink
Add matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonacox committed Jun 5, 2022
1 parent e418ead commit 22b7497
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/sketch.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Test TM1637TinyDisplay Library
name: Compile Example Sketch
# Test Arduino Library
name: Compile Example Sketches

# The workflow will run on every push and pull request to the repository
on:
Expand All @@ -10,18 +10,26 @@ 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 sketch
- 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: |
# Configure the action to search all folders under the root of the repository for sketches and compile them.
# 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

0 comments on commit 22b7497

Please sign in to comment.