Skip to content

Commit

Permalink
Merge pull request #288 from sysprog21/fix-style
Browse files Browse the repository at this point in the history
CI: Fix recent Cppcheck and Sparse usage
  • Loading branch information
jserv authored Dec 11, 2024
2 parents 6e3aee6 + a16a278 commit 0b455a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
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

0 comments on commit 0b455a2

Please sign in to comment.