parent
ca4dc50682
commit
2a40e2ba12
|
|
@ -13,9 +13,18 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Compile dshot300.ino Example
|
- name: Set up Arduino CLI
|
||||||
uses: arduino/compile-sketches@v1
|
run: |
|
||||||
with:
|
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/local/bin sh
|
||||||
fqbn: esp32:esp32:esp32
|
arduino-cli core update-index
|
||||||
sketch-paths: examples/dshot300/dshot300.ino
|
arduino-cli core install esp32:esp32
|
||||||
libraries: .
|
|
||||||
|
- name: Install DShotRMT as library
|
||||||
|
run: |
|
||||||
|
mkdir -p $HOME/Arduino/libraries
|
||||||
|
ln -s $PWD $HOME/Arduino/libraries/DShotRMT
|
||||||
|
|
||||||
|
- name: Compile dshot300.ino example
|
||||||
|
run: |
|
||||||
|
arduino-cli compile --fqbn esp32:esp32:esp32 examples/dshot300/dshot300.ino
|
||||||
|
|
||||||
Loading…
Reference in New Issue