Skip to content

Commit cd487c1

Browse files
authored
Add PlatformIO CI workflow configuration
1 parent 0c767e5 commit cd487c1

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/platformio.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: PlatformIO CI
2+
3+
on:
4+
push:
5+
release:
6+
types: [published]
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/cache@v4
16+
with:
17+
path: |
18+
~/.cache/pip
19+
~/.platformio/.cache
20+
key: ${{ runner.os }}-pio-2026
21+
- uses: actions/setup-python@v5
22+
with:
23+
python-version: '3.11'
24+
- name: Install PlatformIO Core
25+
run: pip install --upgrade platformio
26+
27+
- name: Build PlatformIO Project
28+
run: pio run
29+
30+

0 commit comments

Comments
 (0)