Skip to content

fix: all examples in GH Actions #44

fix: all examples in GH Actions

fix: all examples in GH Actions #44

Workflow file for this run

name: PlatformIO CI
on: [push]
jobs:
build-test:
runs-on: ubuntu-20.04
strategy:
matrix:
example:
- battery
- buzzer
- leds
- motorDriveToPosition
- motorPower
- motors
- mpu
- oled
- readEncoderPosition
- stupidServos
- ultrasoundBasic
- ultrasoundLeds
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install platformio
- name: Build examples
run: platformio ci --lib="." --project-conf="./platformio.ini"
env:
PLATFORMIO_CI_SRC: examples/${{ matrix.example }}