Skip to content

Commit

Permalink
Create compile.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FerralCoder authored Feb 21, 2024
1 parent 84eed15 commit ab801c8
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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

steps:
# This step makes the contents of the repository available to the workflow
- name: Checkout repository
uses: actions/checkout@v4

# For more information: https://github.com/arduino/compile-sketches#readme
- name: Compile sketch
uses: arduino/compile-sketches@v1
with:
# Compile for Arduino Nano Every
fqbn: arduino:megaavr:nona4809
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.
- ./
libraries: |
# no libraries
-

0 comments on commit ab801c8

Please sign in to comment.