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 157d26c commit 88d2101Copy full SHA for 88d2101
.github/workflows/examples.yml
@@ -0,0 +1,28 @@
1
+name: Examples
2
+
3
+on: [push]
4
5
+jobs:
6
+ build:
7
+ strategy:
8
+ fail-fast: false
9
+ matrix:
10
+ os: [ubuntu-18.04, windows-latest, macos-latest]
11
+ python-version: [3.7]
12
+ example:
13
+ - "examples/gpio-blink"
14
+ runs-on: ${{ matrix.os }}
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - name: Set up Python ${{ matrix.python-version }}
18
+ uses: actions/setup-python@v1
19
+ with:
20
+ python-version: ${{ matrix.python-version }}
21
+ - name: Install dependencies
22
+ run: |
23
+ python -m pip install --upgrade pip
24
+ pip install -U https://github.com/platformio/platformio/archive/develop.zip
25
+ platformio platform install file://.
26
+ - name: Build examples
27
28
+ platformio run -d ${{ matrix.example }}
0 commit comments