forked from platformio/platform-atmelsam
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (43 loc) · 1.52 KB
/
examples.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
name: Examples
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-16.04, windows-latest, macos-latest]
python-version: [3.7]
example:
- "examples/arduino-blink"
- "examples/arduino-briki-internal-libs"
- "examples/arduino-external-libs"
- "examples/arduino-internal-libs"
- "examples/arduino-web-thing-led"
- "examples/mbed-blink"
- "examples/mbed-dsp"
- "examples/mbed-serial"
- "examples/simba-blink"
- "examples/zephyr-blink"
- "examples/zephyr-drivers-lcd-hd44780"
- "examples/zephyr-subsys-logger"
exclude:
- {python-version: 2.7, example: "examples/zephyr-blink"}
- {python-version: 2.7, example: "examples/zephyr-drivers-lcd-hd44780"}
- {python-version: 2.7, example: "examples/zephyr-subsys-logger"}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
submodules: "recursive"
- 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 https://github.com/platformio/platformio/archive/develop.zip
platformio platform install file://.
- name: Build examples
run: |
platformio run -d ${{ matrix.example }}