-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from mit-drl/develop
Develop
- Loading branch information
Showing
35 changed files
with
4,281 additions
and
582 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# based on https://blog.arduino.cc/2019/11/14/arduino-on-github-actions/ | ||
|
||
name: build | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
|
||
build-matrix: | ||
|
||
strategy: | ||
|
||
matrix: | ||
os: [windows-latest, ubuntu-latest] | ||
|
||
arduino-platform: ["arduino:avr"] | ||
|
||
include: | ||
- arduino-platform: "arduino:avr" | ||
fqbn: "arduino:avr:mega:cpu=atmega2560" | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
|
||
- name: Setup Arduino CLI | ||
uses: arduino/[email protected] | ||
|
||
- name: Install platform | ||
run: | | ||
arduino-cli core update-index | ||
arduino-cli core install ${{ matrix.arduino-platform }} | ||
arduino-cli lib install SD LiquidCrystal | ||
- name: Compile Sketch | ||
run: arduino-cli compile --fqbn ${{ matrix.fqbn }} ./e-vent.ino | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.