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
c1f1b414
Commit
c1f1b414
authored
4 years ago
by
Soeren Peters
Browse files
Options
Downloads
Patches
Plain Diff
Adds a deploy stage with a clang build analyzer phase.
parent
98e50a7c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+39
-1
39 additions, 1 deletion
.gitlab-ci.yml
with
39 additions
and
1 deletion
.gitlab-ci.yml
+
39
−
1
View file @
c1f1b414
...
...
@@ -3,6 +3,7 @@ image: irmb/virtualfluids-deps:latest
stages
:
-
build
-
test
-
deploy
build
:
stage
:
build
...
...
@@ -28,4 +29,41 @@ test:
-
export DEBIAN_FRONTEND=noninteractive
script
:
-
build/bin/basicsTests
\ No newline at end of file
-
build/bin/basicsTests
benchmark_ClangBuildAnalyzer
:
stage
:
deploy
only
:
variables
:
-
$ENABLE_BENCHMARKS
tags
:
-
docker-benchmark
before_script
:
-
export DEBIAN_FRONTEND=noninteractive
-
apt-get update
-
cmake --version
-
ccache --version
-
mpirun --version
-
export CC=clang
-
export CXX=clang++
-
$CXX --version
-
cd /tmp
-
git clone https://github.com/aras-p/ClangBuildAnalyzer.git
-
cd ClangBuildAnalyzer
-
cmake .
-
make
-
export PATH+=:$(pwd)
script
:
-
mkdir $CI_PROJECT_DIR/build
-
cd $CI_PROJECT_DIR/build
-
cmake .. -DBUILD_VF_CPU=ON -DUSE_OPENMP=OFF -DCMAKE_CXX_FLAGS=-ftime-trace
-
ClangBuildAnalyzer --start .
-
make
-
ClangBuildAnalyzer --stop . CBA
-
ClangBuildAnalyzer --analyze CBA
\ 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