Switch to Github Actions as the main CI platform
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
name: Examples
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-16.04, windows-latest, macos-latest]
|
||||
python-version: [2.7, 3.7]
|
||||
example:
|
||||
- "examples/arduino-blink"
|
||||
- "examples/arduino-briki-internal-libs"
|
||||
- "examples/arduino-wifiscan"
|
||||
- "examples/espidf-arduino-blink"
|
||||
- "examples/espidf-arduino-wifiscan"
|
||||
- "examples/espidf-aws-iot"
|
||||
- "examples/espidf-ble-eddystone"
|
||||
- "examples/espidf-coap-server"
|
||||
- "examples/espidf-exceptions"
|
||||
- "examples/espidf-hello-world"
|
||||
- "examples/espidf-http-request"
|
||||
- "examples/espidf-peripherals-uart"
|
||||
- "examples/espidf-storage-sdcard"
|
||||
- "examples/espidf-ulp-adc"
|
||||
- "examples/espidf-ulp-pulse"
|
||||
- "examples/pumbaa-blink"
|
||||
- "examples/simba-blink"
|
||||
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 }}
|
||||
-39
@@ -1,39 +0,0 @@
|
||||
language: python
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.6"
|
||||
|
||||
env:
|
||||
- PLATFORMIO_PROJECT_DIR=examples/arduino-blink
|
||||
- PLATFORMIO_PROJECT_DIR=examples/arduino-briki-internal-libs
|
||||
- PLATFORMIO_PROJECT_DIR=examples/arduino-wifiscan
|
||||
- PLATFORMIO_PROJECT_DIR=examples/espidf-arduino-blink
|
||||
- PLATFORMIO_PROJECT_DIR=examples/espidf-arduino-wifiscan
|
||||
- PLATFORMIO_PROJECT_DIR=examples/espidf-aws-iot
|
||||
- PLATFORMIO_PROJECT_DIR=examples/espidf-ble-eddystone
|
||||
- PLATFORMIO_PROJECT_DIR=examples/espidf-coap-server
|
||||
- PLATFORMIO_PROJECT_DIR=examples/espidf-exceptions
|
||||
- PLATFORMIO_PROJECT_DIR=examples/espidf-hello-world
|
||||
- PLATFORMIO_PROJECT_DIR=examples/espidf-http-request
|
||||
- PLATFORMIO_PROJECT_DIR=examples/espidf-peripherals-uart
|
||||
- PLATFORMIO_PROJECT_DIR=examples/espidf-storage-sdcard
|
||||
- PLATFORMIO_PROJECT_DIR=examples/espidf-ulp-adc
|
||||
- PLATFORMIO_PROJECT_DIR=examples/espidf-ulp-pulse
|
||||
- PLATFORMIO_PROJECT_DIR=examples/pumbaa-blink
|
||||
- PLATFORMIO_PROJECT_DIR=examples/simba-blink
|
||||
|
||||
install:
|
||||
- pip install -U https://github.com/platformio/platformio/archive/develop.zip
|
||||
- platformio platform install file://.
|
||||
|
||||
script:
|
||||
- platformio run -d $PLATFORMIO_PROJECT_DIR
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
||||
slack:
|
||||
rooms:
|
||||
secure: EkXAtWoUQtgtFeiOobnNZmaUgPw7evpo60Tam5jQiKbVK02bCbBODELTSFsGfIj05oAzNm4s1xBTRD3x9bsvPqvfThHwIHZ2M2BlrT06iINsfFXoXM5yCuBAIi8FF61UKmiZn+Pm+IK6OeUFmzXoP5BcpS2LRB0eSoCj0nsF5cj/H+oA6BnCn/5AXhbSQSiHxOPfq/0khQb5dalmf3B9NHq08MEiOLJR5J9zPglKMfE2HR8PS98irN0x1t9+aReMfUJSZrxfqwvWKz/Sb38/2H37A4GOXpsnRDagZXkfw/MSckSxRFtW8p/0LUBQqeaxdC5Z9qIuyDCAeHPm8d0AIArR7Ylz6BjlNVJVdCTAZaNTp7PUV4n1cN7gZPq8NhWnuGG3wdWiYlJEyHmmRjr9adDYTshCl3gf2GOjB5YJIjoNrixkoJwHM2gJLvwuOw7mgo0hLbqW84XSgV6KeSU12AYk9d2nz3AhWVsb4DiKrN+EqnhBVnCygAxYGlNxfZOPG0FIYai2DUsl6PXd3OBmxeNEWG+x7BivG+maaQEyC4SeFaNFIBR1L4F+C0fHW1VxiCvJCb6vB7fOk7fU5UDhpYnrRmSuyAVYR86aZ+3VnZjbjpGac6hfN7Qxg5WeC5Yd6eR2lrNag9lG5zASylZ1nsdlOZloPs8ilGe43mDpAkg=
|
||||
on_failure: always
|
||||
on_success: change
|
||||
@@ -1,6 +1,6 @@
|
||||
# Espressif 32: development platform for [PlatformIO](http://platformio.org)
|
||||
[](https://travis-ci.org/platformio/platform-espressif32)
|
||||
[](https://ci.appveyor.com/project/ivankravets/platform-espressif32/branch/develop)
|
||||
|
||||

|
||||
|
||||
Espressif Systems is a privately held fabless semiconductor company. They provide wireless communications and Wi-Fi chips which are widely used in mobile devices and the Internet of Things applications.
|
||||
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
build: off
|
||||
environment:
|
||||
|
||||
matrix:
|
||||
- PLATFORMIO_PROJECT_DIR: "examples/arduino-blink"
|
||||
- PLATFORMIO_PROJECT_DIR: "examples/arduino-briki-internal-libs"
|
||||
- PLATFORMIO_PROJECT_DIR: "examples/arduino-wifiscan"
|
||||
- PLATFORMIO_PROJECT_DIR: "examples/espidf-arduino-blink"
|
||||
- PLATFORMIO_PROJECT_DIR: "examples/espidf-arduino-wifiscan"
|
||||
- PLATFORMIO_PROJECT_DIR: "examples/espidf-aws-iot"
|
||||
- PLATFORMIO_PROJECT_DIR: "examples/espidf-ble-eddystone"
|
||||
- PLATFORMIO_PROJECT_DIR: "examples/espidf-coap-server"
|
||||
- PLATFORMIO_PROJECT_DIR: "examples/espidf-exceptions"
|
||||
- PLATFORMIO_PROJECT_DIR: "examples/espidf-hello-world"
|
||||
- PLATFORMIO_PROJECT_DIR: "examples/espidf-http-request"
|
||||
- PLATFORMIO_PROJECT_DIR: "examples/espidf-peripherals-uart"
|
||||
- PLATFORMIO_PROJECT_DIR: "examples/espidf-storage-sdcard"
|
||||
- PLATFORMIO_PROJECT_DIR: "examples/espidf-ulp-adc"
|
||||
- PLATFORMIO_PROJECT_DIR: "examples/espidf-ulp-pulse"
|
||||
- PLATFORMIO_PROJECT_DIR: "examples/pumbaa-blink"
|
||||
- PLATFORMIO_PROJECT_DIR: "examples/simba-blink"
|
||||
|
||||
platform:
|
||||
- x64
|
||||
|
||||
install:
|
||||
- cmd: git submodule update --init --recursive
|
||||
- cmd: SET PATH=C:\Python36-x64;C:\Python36-x64\Scripts;%PATH%
|
||||
- cmd: pip3 install -U https://github.com/platformio/platformio/archive/develop.zip
|
||||
- cmd: platformio platform install file://.
|
||||
|
||||
test_script:
|
||||
- cmd: platformio run -d %PLATFORMIO_PROJECT_DIR%
|
||||
|
||||
notifications:
|
||||
- provider: Slack
|
||||
incoming_webhook:
|
||||
secure: E9H0SU0Ju7WLDvgxsV8cs3J62T3nTTX7QkEjsczN0Sto/c9hWkVfhc5gGWUkxhlD975cokHByKGJIdwYwCewqOI+7BrcT8U+nlga4Uau7J8=
|
||||
on_build_success: false
|
||||
on_build_failure: true
|
||||
on_build_status_changed: true
|
||||
Reference in New Issue
Block a user