Skip to content

Android channel

Android channel #378

Workflow file for this run

name: PlatformIO build
on:
pull_request:
branches:
- master
- develop
push:
branches:
- develop
jobs:
main:
name: PlatformIO build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: '3.x'
- name: Install Platform IO
run: |
python -m pip install --upgrade pip
pip install -U platformio
- name: Build
run: platformio run -e miniV1 -e miniV2 -e miniV3 -e nanoV3 -e linkV1 -e boneV1 -e connectV1
- run: mkdir -p ./artifacts
- run: cp ./.pio/build/miniV1/firmware.bin ./artifacts/miniV1_firmware.bin
- run: cp ./.pio/build/miniV2/firmware.bin ./artifacts/miniV2_firmware.bin
- run: cp ./.pio/build/miniV3/firmware.bin ./artifacts/miniV3_firmware.bin
- run: cp ./.pio/build/nanoV3/firmware.bin ./artifacts/nanoV3_firmware.bin
- run: cp ./.pio/build/linkV1/firmware.bin ./artifacts/linkV1_firmware.bin
- run: cp ./.pio/build/boneV1/firmware.bin ./artifacts/boneV1_firmware.bin
- run: cp ./.pio/build/connectV1/firmware.bin ./artifacts/connectV1_firmware.bin
- uses: actions/upload-artifact@v1
with:
name: firmware_artifacts
path: ./artifacts