update README.md #18
Workflow file for this run
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 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 |