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:
commit
514b4c571a
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -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…
Reference in New Issue
Block a user