Update README.md #4
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
name: Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Set up Arduino CLI | |
uses: arduino/setup-arduino-cli@v1 | |
- name: Install platform | |
run: | | |
arduino-cli core update-index | |
arduino-cli core install arduino:avr | |
arduino-cli lib install LiquidCrystal | |
- name: Compile Sketch | |
run: | | |
cd ArdruinoProMicro/ModxoSpi2Par | |
arduino-cli compile -b arduino:avr:leonardo --warnings "default" |