-
-
Notifications
You must be signed in to change notification settings - Fork 7
60 lines (54 loc) · 1.32 KB
/
platformio.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: PlatformIO
on:
push:
branches:
- devel
paths-ignore:
- '**/README.md'
pull_request:
branches:
- master
paths-ignore:
- '**/README.md'
jobs:
build_linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
python-version: [3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U platformio
pio pkg update
- name: PlatformIO Build Test
run: |
pio run
build_windows:
name: Build binary on Windows 2019
runs-on: windows-2019
strategy:
max-parallel: 1
matrix:
python-version: [3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U platformio
pio pkg update
- name: PlatformIO Build Test
run: |
pio run