Skip to content

Commit 7813903

Browse files
committed
added pio yml file
1 parent 258a1c2 commit 7813903

File tree

1 file changed

+35
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)