Simplification #73
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build with Platformio | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install library dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install platformio | |
pio pkg install --global --library me-no-dev/AsyncTCP | |
pio pkg install --global --library me-no-dev/EspAsyncTCP | |
pio pkg install --global --library bblanchon/ArduinoJson | |
chmod +x ./scripts/CI/build_examples_pio.sh | |
- name: Build examples | |
run: | | |
./scripts/CI/build_examples_pio.sh |