Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
VILLASframework
VILLAScommon
Commits
6833c8c3
Commit
6833c8c3
authored
Sep 11, 2020
by
Steffen Vogel
🎅🏼
Browse files
ci: enable cppcheck
parent
acb16cac
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6833c8c3
...
...
@@ -49,3 +49,27 @@ test:unit:
image
:
${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV}
tags
:
-
docker
test:cppcheck:
stage
:
test
script
:
-
cppcheck -j $(nproc)
--max-configs=32
--error-exitcode=1
--quiet
--inline-suppr
--enable=warning,performance,portability,information,missingInclude
--std=c++11
-I include
lib/
tests/unit/ | tee cppcheck.log
image
:
${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV}
dependencies
:
-
build:source
tags
:
-
docker
artifacts
:
when
:
on_failure
paths
:
-
cppcheck.log
expose_as
:
cppcheck
Dockerfile
View file @
6833c8c3
...
...
@@ -46,6 +46,7 @@ LABEL \
RUN
dnf
-y
install
\
gcc gcc-c++
\
make cmake
\
cppcheck
\
pkgconfig git curl
tar
# Dependencies
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment