Skip to content

Commit

Permalink
add cppcheck to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
trbritt committed May 25, 2024
1 parent 2a498b9 commit 7c01bed
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/.github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,22 @@ on:
- master

jobs:
cppcheck:
runs-on: ubuntu-latest

env:
BUILD_TYPE: Debug

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up cppcheck
run: sudo apt install -y cppcheck

- name: Verify
run: cppcheck src/**/*.cpp --force

build:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -43,4 +59,5 @@ jobs:
run: make

- name: Build examples
run: make examples
run: make examples

0 comments on commit 7c01bed

Please sign in to comment.