Skip to content

Commit 27241b8

Browse files
authored
Create teensy4
1 parent 14c9eb2 commit 27241b8

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/teensy4

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: PlatformIO CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest, macos-latest, windows-latest]
12+
example: [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+
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: actions/cache@v3
17+
with:
18+
path: |
19+
~/.cache/pip
20+
~/.platformio/.cache
21+
key: ${{ runner.os }}-pio
22+
- uses: actions/setup-python@v4
23+
with:
24+
python-version: '3.9'
25+
- name: Install PlatformIO Core
26+
run: pip install --upgrade platformio
27+
28+
- name: Run PlatformIO
29+
run: pio ci --lib="." --board=teensy41 --board=teensy40
30+
env:
31+
PLATFORMIO_CI_SRC: ${{ matrix.example }}

0 commit comments

Comments
 (0)