1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-11-14 03:19:24 +00:00

Merge pull request #21 from ianichitei/master

Add static code checks for new commits and PRs
This commit is contained in:
vlutas 2020-09-22 18:51:49 +03:00 committed by GitHub
commit 514b4c571a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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/ \
/