Skip to content

Internal blink on ms precision. #64

Internal blink on ms precision.

Internal blink on ms precision. #64

name: PlatformIO CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
max-parallel: 20
steps:
- uses: actions/checkout@v2
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: ${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v2
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v2
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: Install library dependencies
run: pio lib -g install "256dpi/MQTT"
- name: Prepare PlatformIO examples
run: cd pio; bash prepare-pioexamples.sh
- name: Run PlatformIO build for all prepared examples
run: cd pio; bash build-pioexamples.sh