Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Skip style with Cppcheck #288

Merged
merged 3 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .ci/non-working
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ bottomhalf
bh_threaded
intrpt
vkbd
syscall-steal
2 changes: 1 addition & 1 deletion .ci/static-analysis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function do_cppcheck()
# - [*.c] missingIncludeSystem: Focus on the example code, not the kernel headers.

local OPTS="
--enable=warning,style,performance,information
--enable=warning,performance,information
--suppress=unusedFunction:hello-1.c
--suppress=missingIncludeSystem
--std=c89 "
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/status-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
if: ${{ steps.changed-files.outputs.any_changed == 'true' ||
github.event_name == 'workflow_dispatch' }}
run: |
sudo apt install -q -y clang-format cppcheck gcc
sudo apt install -q -y clang-format cppcheck gcc libsqlite3-dev
.ci/check-newline.sh
.ci/check-format.sh
.ci/static-analysis.sh
Expand Down