Skip to content

Commit 4767e47

Browse files
committed
Add CI
1 parent 5f07558 commit 4767e47

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/main.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# documentation at https://docs.platformio.org/en/latest/integration/ci/github-actions.html
2+
3+
name: PlatformIO CI
4+
5+
on: [push, pull_request]
6+
7+
jobs:
8+
build:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/cache@v3
15+
with:
16+
path: |
17+
~/.cache/pip
18+
~/.platformio/.cache
19+
key: ${{ runner.os }}-pio
20+
- uses: actions/setup-python@v4
21+
with:
22+
python-version: '3.9'
23+
- name: Install PlatformIO Core
24+
run: pip install --upgrade platformio
25+
26+
- name: Build PlatformIO Project
27+
run: pio run

0 commit comments

Comments
 (0)