pull/90/head
Peter Buchegger 2021-05-15 22:19:17 +02:00
rodzic 7baefa51bb
commit 9ef9aff52a
2 zmienionych plików z 24 dodań i 20 usunięć

Wyświetl plik

@ -30,7 +30,8 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: Checkout code
uses: actions/checkout@v2
- name: Cache pip - name: Cache pip
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
@ -50,7 +51,8 @@ jobs:
pip install --upgrade platformio pip install --upgrade platformio
- name: Run PlatformIO CI - name: Run PlatformIO CI
run: platformio run run: platformio run
- uses: actions/upload-artifact@v2 - name: Upload artifacts
uses: actions/upload-artifact@v2
with: with:
name: firmware name: firmware
path: .pio/build/lora_board/firmware.bin path: .pio/build/lora_board/firmware.bin
@ -72,27 +74,27 @@ jobs:
- 'lib/System' - 'lib/System'
#- 'lib/TimeLib' #- 'lib/TimeLib'
steps: steps:
- uses: actions/checkout@v2 - name: Checkout code
uses: actions/checkout@v2
- name: Run clang-format style check for C/C++ programs. - name: Run clang-format style check for C/C++ programs.
uses: jidicula/clang-format-action@v3.2.0 uses: jidicula/clang-format-action@v3.2.0
with: with:
clang-format-version: '11' clang-format-version: '11'
check-path: ${{ matrix.path }} check-path: ${{ matrix.path }}
# cppcheck: cppcheck:
# name: Run Cppcheck name: Run Cppcheck
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# steps: steps:
# - uses: actions/checkout@v2 - name: checkout code
# - name: Run Cppcheck uses: actions/checkout@v2
# uses: Bedzior/cppcheck-action - run: docker pull facthunder/cppcheck:latest
# with: - name: Run Cppcheck
# enabled checks: all run: docker run --rm -v ${PWD}:/src facthunder/cppcheck:latest cppcheck -v --xml --enable=all . 2> report.xml
# enable inconclusive: true - name: Generate HTML report
# generate report: true run: docker run --rm -v ${PWD}:/src facthunder/cppcheck:latest cppcheck-htmlreport --file=report.xml --report-dir=output
# - name: Upload report - name: Upload report
# uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
# with: with:
# name: report name: Cppcheck Report
# path: output path: output

2
.gitignore vendored
Wyświetl plik

@ -3,3 +3,5 @@
.vscode/c_cpp_properties.json .vscode/c_cpp_properties.json
.vscode/launch.json .vscode/launch.json
.vscode/ipch .vscode/ipch
report.xml
output