File tree Expand file tree Collapse file tree 2 files changed +37
-31
lines changed Expand file tree Collapse file tree 2 files changed +37
-31
lines changed Original file line number Diff line number Diff line change
1
+ name : PlatformIO - Teensy build
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ build :
7
+
8
+ runs-on : ${{ matrix.os }}
9
+ strategy :
10
+ matrix :
11
+ os : [ubuntu-latest]
12
+ example_4 : [examples/hardware_specific_examples/Teensy/Teensy4/bldc_driver_6pwm_standalone/bldc_driver_6pwm_standalone.ino, examples/hardware_specific_examples/Teensy/Teensy4/open_loop_velocity_6pwm/open_loop_velocity_6pwm.ino]
13
+ example_3 : [examples/hardware_specific_examples/Teensy/Teensy3/bldc_driver_6pwm_standalone/bldc_driver_6pwm_standalone.ino, examples/hardware_specific_examples/Teensy/Teensy3/open_loop_velocity_6pwm/open_loop_velocity_6pwm.ino]
14
+
15
+ steps :
16
+ - uses : actions/checkout@v3
17
+ - uses : actions/cache@v3
18
+ with :
19
+ path : |
20
+ ~/.cache/pip
21
+ ~/.platformio/.cache
22
+ key : ${{ runner.os }}-pio
23
+ - uses : actions/setup-python@v4
24
+ with :
25
+ python-version : ' 3.9'
26
+ - name : Install PlatformIO Core
27
+ run : pip install --upgrade platformio
28
+
29
+ - name : PIO Run Teensy 4
30
+ run : pio ci --lib="." --board=teensy41 --board=teensy40
31
+ env :
32
+ PLATFORMIO_CI_SRC : ${{ matrix.example_4 }}
33
+
34
+ - name : PIO Run Teensy 3
35
+ run : pio ci --lib="." --board=teensy31 --board=teensy30 --board=teensy35 --board=teensy36
36
+ env :
37
+ PLATFORMIO_CI_SRC : ${{ matrix.example_3 }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments