-
Notifications
You must be signed in to change notification settings - Fork 6
49 lines (42 loc) · 1.28 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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