mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2026-01-03 15:20:11 +01:00
37 lines
1 KiB
YAML
37 lines
1 KiB
YAML
name: Build check and build
|
|
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- '*.md'
|
|
pull_request:
|
|
paths-ignore:
|
|
- '*.md'
|
|
|
|
jobs:
|
|
PlatformIO-Check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: sudo apt-get install python3-setuptools python3-wheel
|
|
- run: pip3 install platformio
|
|
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: 'recursive'
|
|
- run: platformio check --fail-on-defect low --fail-on-defect medium --fail-on-defect high --skip-packages --flags "--suppress=*:*.pio\* --inline-suppr lib/common/src" -v
|
|
|
|
PlatformIO-Build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: sudo apt-get install python3-setuptools python3-wheel
|
|
- run: pip3 install platformio
|
|
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: 'recursive'
|
|
- run: platformio run
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: .pio/build/lora_board/firmware.bin
|