Skip to content

Update platformio.yml #6

Update platformio.yml

Update platformio.yml #6

Workflow file for this run

name: PlatformIO CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
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.10'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Install Micro_ROS dependencies
run: |
sudo apt-get update
sudo apt-get install -y gcc-arm-none-eabi
sudo apt-get install -y python3-pip
python3 -m pip install catkin_pkg lark-parser empy
- name: Install PlatformIO project dependencies
run: |
pio update
pio lib install
- name: Build PlatformIO Project
run: pio run