Update README.md #3
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: CI | |
on: | |
push: | |
jobs: | |
arduino: | |
name: Arduino Compile | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
board: | |
- adafruit:samd:adafruit_itsybitsy_m4 | |
- teensy:avr:teensy36 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Pull Image | |
run: docker pull ghcr.io/leocov-dev/arduino-processing-image:0.0.6 | |
- name: Arduino Compile ${{ matrix.board }} | |
run: | | |
docker run --rm \ | |
-v "$(pwd)/dynamic_clamp:/build/dynamic_clamp" \ | |
-w /build \ | |
ghcr.io/leocov-dev/arduino-processing-image:0.0.6 \ | |
arduino-cli compile \ | |
--clean \ | |
--verbose \ | |
--fqbn ${{ matrix.board }} \ | |
dynamic_clamp | |
processing: | |
name: Processing Build | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Pull Image | |
run: docker pull ghcr.io/leocov-dev/arduino-processing-image:0.0.6 | |
- run: | | |
docker run --rm \ | |
-v "$(pwd)/processing_control:/build/processing_control" \ | |
-w /build \ | |
ghcr.io/leocov-dev/arduino-processing-image:0.0.6 \ | |
processing-java --sketch=/build/processing_control --output=/build/dist --build |