mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2025-12-06 07:42:00 +01:00
Update c-cpp.yml
This commit is contained in:
parent
6adaa046f4
commit
34d0bba41b
16
.github/workflows/c-cpp.yml
vendored
16
.github/workflows/c-cpp.yml
vendored
|
|
@ -11,26 +11,18 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: sudo apt-get install python3-setuptools python3-wheel
|
- run: sudo apt-get install python3-setuptools python3-wheel
|
||||||
- run: pip3 -v install platformio
|
- run: pip3 install platformio
|
||||||
- run: echo "::add-path::~/.local/bin"
|
- run: echo "::add-path::~/.local/bin"
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: pio run
|
- run: platformio check --fail-on-defect low --fail-on-defect medium --fail-on-defect high
|
||||||
- uses: actions/upload-artifact@v1
|
- run: platformio run
|
||||||
with:
|
|
||||||
name: build_files
|
|
||||||
path: .pio/build
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
needs: precompile
|
needs: precompile
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/download-artifact@v1
|
|
||||||
with:
|
|
||||||
name: build_files
|
|
||||||
- name: check for updates
|
- name: check for updates
|
||||||
run: platformio update
|
run: platformio update
|
||||||
- name: run cppcheck
|
|
||||||
run: echo platformio check --fail-on-defect low --fail-on-defect medium --fail-on-defect high
|
|
||||||
- name: compile
|
- name: compile
|
||||||
run: platformio run
|
run: platformio run -e ttgo-lora32-v1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue