Skip to content

chore: Update Arduino Library Manager and PlatformIO installation ins… #1

chore: Update Arduino Library Manager and PlatformIO installation ins…

chore: Update Arduino Library Manager and PlatformIO installation ins… #1

Workflow file for this run

name: Build and Test PlatformIO Examples
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
board:
- esp32dev
- esp32doit-devkit-v1
- esp32-wrover-kit
- esp-wrover-kit
example:
- Esp32-platformIO/t-call-esp32-sim800l-alpn-protos
- Esp32-platformIO/t-call-esp32-sim800l-aws
- Esp32-platformIO/t-call-esp32-sim800l-cert-bundle
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install platformio
- name: Initialise PlatformIO Project
run: |
pio project init --board ${{ matrix.board }}
working-directory: ./examples/${{ matrix.example }}
- name: Build Example
run: |
pio run
working-directory: ./examples/${{ matrix.example }}