File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed
Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : PlatformIO Arduino CI
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+
8+ runs-on : ubuntu-latest
9+ strategy :
10+ matrix :
11+ example : [examples/arduino/basic_usage/src/main.cpp]
12+
13+ steps :
14+ - uses : actions/checkout@v2
15+ - name : Cache pip
16+ uses : actions/cache@v2
17+ with :
18+ path : ~/.cache/pip
19+ key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
20+ restore-keys : ${{ runner.os }}-pip-
21+ - name : Cache PlatformIO
22+ uses : actions/cache@v2
23+ with :
24+ path : ~/.platformio
25+ key : ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
26+ - name : Set up Python
27+ uses : actions/setup-python@v2
28+ - name : Install PlatformIO
29+ run : |
30+ python -m pip install --upgrade pip
31+ pip install --upgrade platformio
32+ - name : Run PlatformIO
33+ run : pio ci --project-conf="examples/arduino/basic_usage/platformio.ini"
34+ env :
35+ PLATFORMIO_CI_SRC : ${{ matrix.example }}
File renamed without changes.
You can’t perform that action at this time.
0 commit comments