Skip to content

Commit

Permalink
Update and rename teensy4.yml to teensy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
askuric authored Sep 27, 2023
1 parent 3a10d07 commit f0ea6cc
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 31 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/teensy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: PlatformIO - Teensy build

on: [push]

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
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]
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]

steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install PlatformIO Core
run: pip install --upgrade platformio

- name: PIO Run Teensy 4
run: pio ci --lib="." --board=teensy41 --board=teensy40
env:
PLATFORMIO_CI_SRC: ${{ matrix.example_4 }}

- name: PIO Run Teensy 3
run: pio ci --lib="." --board=teensy31 --board=teensy30 --board=teensy35 --board=teensy36
env:
PLATFORMIO_CI_SRC: ${{ matrix.example_3 }}
31 changes: 0 additions & 31 deletions .github/workflows/teensy4.yml

This file was deleted.

0 comments on commit f0ea6cc

Please sign in to comment.