mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2026-01-04 15:50:28 +01:00
29 lines
702 B
YAML
29 lines
702 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
|