LoRa_APRS_iGate/.github/workflows/build_check.yml

37 wiersze
1.0 KiB
YAML
Czysty Zwykły widok Historia

2020-11-15 13:09:33 +00:00
name: Build check and build
2020-06-14 21:34:13 +00:00
on:
push:
paths-ignore:
2020-11-15 13:08:57 +00:00
- '*.md'
pull_request:
paths-ignore:
2020-11-15 13:08:57 +00:00
- '*.md'
2020-06-14 21:34:13 +00:00
jobs:
2020-08-01 08:49:56 +00:00
PlatformIO-Check:
2020-06-14 23:24:19 +00:00
runs-on: ubuntu-latest
steps:
2020-06-14 23:35:50 +00:00
- run: sudo apt-get install python3-setuptools python3-wheel
2020-06-15 02:10:17 +00:00
- run: pip3 install platformio
2020-10-12 19:50:08 +00:00
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
2020-06-14 23:24:19 +00:00
- uses: actions/checkout@v2
2020-12-06 22:11:54 +00:00
with:
submodules: 'recursive'
2020-12-13 21:05:53 +00:00
- 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
2020-08-01 08:49:56 +00:00
PlatformIO-Build:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get install python3-setuptools python3-wheel
- run: pip3 install platformio
2020-10-12 19:50:08 +00:00
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
2020-08-01 08:49:56 +00:00
- uses: actions/checkout@v2
2020-12-06 22:11:54 +00:00
with:
submodules: 'recursive'
2020-06-15 02:10:17 +00:00
- run: platformio run
2020-08-01 08:49:56 +00:00
- uses: actions/upload-artifact@v2
with:
name: firmware
path: .pio/build/*/firmware.bin