Merge pull request #21 from ianichitei/master

Add static code checks for new commits and PRs
pull/29/head
vlutas 4 years ago committed by GitHub
commit 514b4c571a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -76,3 +76,17 @@ 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 --error-exitcode=1 --language=c \
--enable=all --suppress=missingIncludeSystem --suppress=unusedStructMember --suppress=unusedFunction \
-I inc/ -I inc/bdshemu -I bddisasm/include bddisasm/ bdshemu/ \
/

Loading…
Cancel
Save