Run cppcheck on new commits and PRs

pull/21/head
Anichitei Ionel-Cristinel 4 years ago committed by GitHub
parent 5667dad127
commit ffad2e8c48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -76,3 +76,14 @@ jobs:
run: MSBuild /t:Rebuild /p:Configuration=Release /p:Platform=x64 bddisasm.sln
- name: Build bddisasm and bdshemu for Win32
run: MSBuild /t:Rebuild /p:Configuration=Release /p:Platform=Win32 bddisasm.sln
Code checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install cppcheck
run: sudo apt install -y cppcheck
- name: Run cppcheck
run: cppcheck --language=c --enable=all -I inc/ -I inc/bdshemu -I bddisasm/include bddisasm/ bdshemu/

Loading…
Cancel
Save