Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VirtualFluids
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iRMB
VirtualFluids
Commits
01c53099
Commit
01c53099
authored
1 year ago
by
Soeren Peters
Browse files
Options
Downloads
Patches
Plain Diff
Add cppcheck install script.
parent
ea8a8a25
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!237
Adds Ubuntu 22_04 image.
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+5
-7
5 additions, 7 deletions
.gitlab-ci.yml
Containers/Ubuntu22_04.Dockerfile
+2
-1
2 additions, 1 deletion
Containers/Ubuntu22_04.Dockerfile
utilities/install-cppcheck.sh
+12
-0
12 additions, 0 deletions
utilities/install-cppcheck.sh
with
19 additions
and
8 deletions
.gitlab-ci.yml
+
5
−
7
View file @
01c53099
...
...
@@ -438,8 +438,8 @@ include_what_you_use_clang_15:
-
cd /tmp
-
git clone https://github.com/include-what-you-use/include-what-you-use.git
-
cd include-what-you-use
-
git checkout clang_1
0
-
cmake . -DCMAKE_PREFIX_PATH=/usr/lib/llvm-1
0
-
git checkout clang_1
5
-
cmake . -DCMAKE_PREFIX_PATH=/usr/lib/llvm-1
5
-
make
-
export PATH+=:$(pwd)/bin
...
...
@@ -471,6 +471,8 @@ cppcheck:
needs
:
[]
before_script
:
-
chmod +x utilities/install-cppcheck.sh
-
./utilities/install-cppcheck.sh
-
cppcheck --version
script
:
...
...
@@ -493,10 +495,6 @@ lizard:
needs
:
[]
before_script
:
-
cd /tmp
-
git clone https://github.com/terryyin/lizard.git
-
cd lizard
-
python3 setup.py install
-
lizard --version
script
:
...
...
@@ -560,7 +558,7 @@ clang-tidy:
allow_failure
:
true
before_script
:
-
run-clang-tidy -h
-
run-clang-tidy
-15
-h
script
:
-
mkdir -p $CI_PROJECT_DIR/build
...
...
This diff is collapsed.
Click to expand it.
Containers/Ubuntu22_04.Dockerfile
+
2
−
1
View file @
01c53099
...
...
@@ -43,5 +43,6 @@ RUN apt-get update && \
numpy
\
ansible
\
'jinja2<3.1'
\
gcovr
==
6.0
gcovr
==
6.0
\
lizard
==
1.17.10
This diff is collapsed.
Click to expand it.
utilities/install-cppcheck.sh
0 → 100755
+
12
−
0
View file @
01c53099
#!/usr/bin/env bash
set
-e
cd
/tmp
git clone https://github.com/danmar/cppcheck.git
cd
cppcheck
git checkout 2.10.3
make
MATCHCOMPILER
=
yes
FILESDIR
=
/usr/share/cppcheck
HAVE_RULES
=
yes
CXXFLAGS
=
"-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function"
install
cd
/tmp
rm
-rf
/tmp/cppcheck
ldconfig
cppcheck
--version
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment