Skip to content

Merge pull request #106 from un-clouded/master #27

Merge pull request #106 from un-clouded/master

Merge pull request #106 from un-clouded/master #27

Workflow file for this run

---
name: Build examples
on:
- pull_request
- push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- 3.8
name: Build examples
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install pip
run: |
python -m pip install --upgrade pip
- name: Install and update platformio
run: |
pip install -U platformio
pio update
- name: Build examples
run: |
for D in `echo examples/*`; do
echo "Build ${D}"
(cd ${D} && pio run -v)
done