File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ # Reference: https://docs.platformio.org/en/stable/integration/ci/github-actions.html
2+
3+ name : PlatformIO CI
4+
5+ on :
6+ push :
7+ branches : [master]
8+ pull_request :
9+ branches : [master]
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v3
16+
17+ - uses : actions/cache@v4
18+ with :
19+ path : |
20+ ~/.cache/pip
21+ ~/.platformio/.cache
22+ key : ${{ runner.os }}-pio
23+
24+ - uses : actions/setup-python@v4
25+ with :
26+ python-version : ' 3.9'
27+
28+ - name : Install PlatformIO Core
29+ run : pip install --upgrade platformio
30+
31+ - name : Run PlatformIO
32+ run : |
33+ pio ci --lib="." --project-conf platformio.ini examples/SineWaveCAN/SineWaveCAN.ino
34+ #pio ci --lib="." examples/SineWaveCAN/SineWaveCAN.ino
Original file line number Diff line number Diff line change 44
55# PlatformIO
66/.pio
7+
8+ # OS files
9+ .DS_Store
You can’t perform that action at this time.
0 commit comments