parent
ca4dc50682
commit
2a40e2ba12
|
|
@ -13,9 +13,18 @@ jobs:
|
|||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Compile dshot300.ino Example
|
||||
uses: arduino/compile-sketches@v1
|
||||
with:
|
||||
fqbn: esp32:esp32:esp32
|
||||
sketch-paths: examples/dshot300/dshot300.ino
|
||||
libraries: .
|
||||
- name: Set up Arduino CLI
|
||||
run: |
|
||||
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/local/bin sh
|
||||
arduino-cli core update-index
|
||||
arduino-cli core install esp32:esp32
|
||||
|
||||
- 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