We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c4afe9 commit c0934c2Copy full SHA for c0934c2
.github/workflows/main.yml
@@ -0,0 +1,31 @@
1
+name: PlatformIO CI
2
+
3
+on: [push]
4
5
+jobs:
6
+ build:
7
8
+ runs-on: ubuntu-latest
9
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - name: Cache pip
13
+ uses: actions/cache@v2
14
+ with:
15
+ path: ~/.cache/pip
16
+ key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
17
+ restore-keys: |
18
+ ${{ runner.os }}-pip-
19
+ - name: Cache PlatformIO
20
21
22
+ path: ~/.platformio
23
+ key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
24
+ - name: Set up Python
25
+ uses: actions/setup-python@v2
26
+ - name: Install PlatformIO
27
+ run: |
28
+ python -m pip install --upgrade pip
29
+ pip install --upgrade platformio
30
+ - name: Run PlatformIO
31
+ run: pio run -e esp32dev
0 commit comments