Skip to content

Commit 2c039ba

Browse files
authored
Update teensy.yml
1 parent f0ea6cc commit 2c039ba

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.github/workflows/teensy.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@ on: [push]
55
jobs:
66
build:
77

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-
8+
runs-on: ubuntu-latest
159
steps:
1610
- uses: actions/checkout@v3
1711
- uses: actions/cache@v3
@@ -29,9 +23,19 @@ jobs:
2923
- name: PIO Run Teensy 4
3024
run: pio ci --lib="." --board=teensy41 --board=teensy40
3125
env:
32-
PLATFORMIO_CI_SRC: ${{ matrix.example_4 }}
26+
PLATFORMIO_CI_SRC: examples/hardware_specific_examples/Teensy/Teensy4/bldc_driver_6pwm_standalone/bldc_driver_6pwm_standalone.ino
27+
28+
- name: PIO Run Teensy 4
29+
run: pio ci --lib="." --board=teensy41 --board=teensy40
30+
env:
31+
PLATFORMIO_CI_SRC: examples/hardware_specific_examples/Teensy/Teensy4/open_loop_velocity_6pwm/open_loop_velocity_6pwm.ino
3332

3433
- name: PIO Run Teensy 3
3534
run: pio ci --lib="." --board=teensy31 --board=teensy30 --board=teensy35 --board=teensy36
3635
env:
37-
PLATFORMIO_CI_SRC: ${{ matrix.example_3 }}
36+
PLATFORMIO_CI_SRC: examples/hardware_specific_examples/Teensy/Teensy3/bldc_driver_6pwm_standalone/bldc_driver_6pwm_standalone.ino
37+
38+
- name: PIO Run Teensy 3
39+
run: pio ci --lib="." --board=teensy31 --board=teensy30 --board=teensy35 --board=teensy36
40+
env:
41+
PLATFORMIO_CI_SRC: examples/hardware_specific_examples/Teensy/Teensy3/open_loop_velocity_6pwm/open_loop_velocity_6pwm.ino

0 commit comments

Comments
 (0)