mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2026-03-06 21:43:49 +01:00
update github action
This commit is contained in:
parent
447e3ac59e
commit
d0c5bbcf12
24
.github/workflows/main.yml
vendored
24
.github/workflows/main.yml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
|||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
precompile:
|
||||
PlatformIO-Check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: sudo apt-get install python3-setuptools python3-wheel
|
||||
|
|
@ -15,14 +15,16 @@ jobs:
|
|||
- 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
|
||||
|
||||
PlatformIO-Build:
|
||||
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 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
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: firmware
|
||||
path: .pio/build/*/firmware.bin
|
||||
|
|
|
|||
Loading…
Reference in a new issue