We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bab07b0 commit e30808fCopy full SHA for e30808f
1 file changed
.github/workflows/platformio.yaml
@@ -0,0 +1,34 @@
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
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
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
0 commit comments