Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NP_TMcode
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giacomo Mulas
NP_TMcode
Commits
50b7ecc5
Commit
50b7ecc5
authored
4 months ago
by
Giovanni La Mura
Browse files
Options
Downloads
Patches
Plain Diff
Create a memory sanity check stage
parent
9cbdda39
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
+28
-0
28 additions, 0 deletions
.gitlab-ci.yml
with
28 additions
and
0 deletions
.gitlab-ci.yml
+
28
−
0
View file @
50b7ecc5
...
...
@@ -20,6 +20,7 @@ workflow:
stages
:
-
compatibility
-
build
-
sanity
-
run
-
test
...
...
@@ -153,6 +154,33 @@ building_stage:
-
cd ../build/latex
-
make
sanity_stage
:
stage
:
sanity
tags
:
[
"
np-tmcode"
]
allow_failure
:
true
needs
:
-
job
:
building_stage
dependencies
:
-
building_stage
artifacts
:
paths
:
-
build/testing/valgrind.log
exclude
:
-
"
.git*"
-
"
.git/**/*"
expire_in
:
2 hours
script
:
# bash commands to be executed
-
pwd
-
hostname
-
echo $CI_COMMIT_SHA
-
echo $CI_COMMIT_BRANCH
-
cd build/testing
-
echo "Running memory sanity check"
-
chmod +x test_ParticleDescriptor
-
valgrind --leak-check=full --log-file=valgrind.log ./test_ParticleDescriptor
-
grep "no leaks are possible" valgrind.log
running_stage
:
stage
:
run
tags
:
[
"
np-tmcode"
]
...
...
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