Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Ganglion v3 firmware detection #7

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
63 changes: 0 additions & 63 deletions .gitattributes

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Clang Format

on: [push, pull_request]

jobs:
check-formatting:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Run clang-format
uses: DoozyX/[email protected]
with:
source: '.'
exclude: './3rdparty ./modules/bglib/include/cmd_def.h ./modules/bglib/src/cmd_def.cpp'
extensions: 'h,c,hpp,cpp'
clangFormatVersion: 16
inplace: False
27 changes: 27 additions & 0 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: C/C++ Static Code Analysis

on: [push, pull_request]

jobs:
cppcheck:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install CppCheck
run: |
sudo -H apt-get update -y
sudo -H apt-get install cppcheck
env:
DEBIAN_FRONTEND: noninteractive
- name: Run Cppcheck
run: cppcheck --std=c++20 --error-exitcode=1 --xml --xml-version=2 --force modules 2>cppcheck_results.xml
- name: Generate Report
if: ${{ failure() }}
run: cppcheck-htmlreport --title=NativeSDK --file=cppcheck_results.xml --report-dir=report
- name: Upload Report
if: ${{ failure() }}
philippitts marked this conversation as resolved.
Show resolved Hide resolved
uses: actions/upload-artifact@v1
with:
name: report
path: report
11 changes: 11 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: 'Check Spelling'
on:
pull_request:
push:

jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: streetsidesoftware/cspell-action@v2
Loading