Add PR gate gh action for passing builds

This commit is contained in:
cooksey
2023-02-26 23:20:54 -05:00
parent c184445b5b
commit 97fe0dd7bb

23
.github/workflows/compile-test.yaml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: PR Tests
on:
pull_request:
paths:
- 'Firmware/**'
- '.github/workflows/**'
jobs:
compile-test:
name: Compile
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Build
uses: arduino/compile-sketches@v1
with:
cli-version: 0.31.0
fqbn: 'arduino:avr:mega'
sketch-paths: |
- Firmware/MVP/MVP.ino