forked from platformio/platform-nordicnrf52
-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (42 loc) · 1.44 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
name: Examples
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, windows-2016, macos-latest]
example:
- "examples/arduino-blink"
- "examples/arduino-ble-led"
- "examples/arduino-bluefruit-bleuart"
- "examples/arduino-nina-b1-generic-example"
- "examples/arduino-serial-plotter"
- "examples/mbed-rtos-ble-thermometer"
- "examples/mbed-rtos-blink-baremetal"
- "examples/mbed-rtos-nfc"
- "examples/mbed-legacy-examples/mbed-ble-thermometer"
- "examples/mbed-legacy-examples/mbed-nfc"
- "examples/mbed-legacy-examples/mbed-rtos"
- "examples/zephyr-ble-beacon"
- "examples/zephyr-blink"
- "examples/zephyr-net-echo-client"
- "examples/zephyr-subsys-nvs"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
submodules: "recursive"
- name: Set up Python 3
uses: actions/setup-python@v1
with:
python-version: "3.7"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U https://github.com/platformio/platformio/archive/develop.zip
pip3 install adafruit-nrfutil
platformio platform install file://.
- name: Build examples
run: |
platformio run -d ${{ matrix.example }}