LoRa_APRS_iGate/.github/workflows/main.yml
2020-06-17 19:45:02 +02:00

29 lines
693 B
YAML

name: PlatformIO CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
precompile:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get install python3-setuptools python3-wheel
- run: pip3 install platformio
- run: echo "::add-path::~/.local/bin"
- uses: actions/checkout@v2
- run: platformio check --fail-on-defect low --fail-on-defect medium --fail-on-defect high
- run: platformio run
build:
runs-on: self-hosted
needs: precompile
steps:
- uses: actions/checkout@v2
- name: check for updates
run: platformio update
- name: compile
run: platformio run -e ttgo-lora32-v1