Skip to content

Commit c509144

Browse files
committed
Switch to Github Actions as the main CI service
1 parent b61e1cd commit c509144

File tree

4 files changed

+42
-73
lines changed

4 files changed

+42
-73
lines changed

.github/workflows/examples.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Examples
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
os: [ubuntu-16.04, windows-latest, macos-latest]
11+
python-version: [2.7, 3.7]
12+
example:
13+
- "examples/mbed-blink"
14+
- "examples/mbed-dsp"
15+
- "examples/mbed-events"
16+
- "examples/mbed-rtos"
17+
- "examples/mbed-serial"
18+
- "examples/mbed-custom-target"
19+
- "examples/zephyr-blink"
20+
- "examples/zephyr-synchronization"
21+
exclude:
22+
- {python-version: 2.7, example: "examples/zephyr-blink"}
23+
- {python-version: 2.7, example: "examples/zephyr-synchronization"}
24+
runs-on: ${{ matrix.os }}
25+
steps:
26+
- uses: actions/checkout@v2
27+
with:
28+
submodules: "recursive"
29+
- name: Set up Python ${{ matrix.python-version }}
30+
uses: actions/setup-python@v1
31+
with:
32+
python-version: ${{ matrix.python-version }}
33+
- name: Install dependencies
34+
run: |
35+
python -m pip install --upgrade pip
36+
pip install -U https://github.com/platformio/platformio/archive/develop.zip
37+
platformio platform install file://.
38+
- name: Build examples
39+
run: |
40+
platformio run -d ${{ matrix.example }}

.travis.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# NXP LPC: development platform for [PlatformIO](http://platformio.org)
2-
[![Build Status](https://travis-ci.org/platformio/platform-nxplpc.svg?branch=develop)](https://travis-ci.org/platformio/platform-nxplpc)
3-
[![Build status](https://ci.appveyor.com/api/projects/status/gm98eo04per1je25/branch/develop?svg=true)](https://ci.appveyor.com/project/ivankravets/platform-nxplpc/branch/develop)
2+
3+
[![Build Status](https://github.com/platformio/platform-nxplpc/workflows/Examples/badge.svg)](https://github.com/platformio/platform-nxplpc/actions)
44

55
The NXP LPC is a family of 32-bit microcontroller integrated circuits by NXP Semiconductors. The LPC chips are grouped into related series that are based around the same 32-bit ARM processor core, such as the Cortex-M4F, Cortex-M3, Cortex-M0+, or Cortex-M0. Internally, each microcontroller consists of the processor core, static RAM memory, flash memory, debugging interface, and various peripherals.
66

appveyor.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)