Skip to content

Commit f0ea6cc

Browse files
authored
Update and rename teensy4.yml to teensy.yml
1 parent 3a10d07 commit f0ea6cc

File tree

2 files changed

+37
-31
lines changed

2 files changed

+37
-31
lines changed

.github/workflows/teensy.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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 }}

.github/workflows/teensy4.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)