File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 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 }}
You can’t perform that action at this time.
0 commit comments