IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
corsika
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue 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
Antonio Augusto Alves Junior
corsika
Commits
cf693390
Commit
cf693390
authored
5 years ago
by
Hans Dembinski
Browse files
Options
Downloads
Patches
Plain Diff
generate coverage reports only for master branch
parent
19b56b21
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+22
-18
22 additions, 18 deletions
.gitlab-ci.yml
with
22 additions
and
18 deletions
.gitlab-ci.yml
+
22
−
18
View file @
cf693390
...
@@ -9,25 +9,27 @@ variables:
...
@@ -9,25 +9,27 @@ variables:
LSAN_OPTIONS
:
"
log_threads=1"
LSAN_OPTIONS
:
"
log_threads=1"
ASAN_OPTIONS
:
"
detect_leaks=0:detect_stack_use_after_return=1"
ASAN_OPTIONS
:
"
detect_leaks=0:detect_stack_use_after_return=1"
# build:
build
:
# normal pipeline for each commit, except for commits to the master
# stage: build
stage
:
build
# tags:
tags
:
# - corsika
-
corsika
# script:
script
:
# - mkdir build
-
mkdir build
# - cd build
-
cd build
# - cmake .. -DCMAKE_BUILD_TYPE=Debug
-
cmake .. -DCMAKE_BUILD_TYPE=Debug
# - cmake --build . -- -j4
-
cmake --build . -- -j4
# - ctest -j4 -V >& test.log || gzip -v -9 -S .gz test.log
-
ctest -j4 -V >& test.log || gzip -v -9 -S .gz test.log
# artifacts:
artifacts
:
# expire_in: 1 year
expire_in
:
1 year
# paths:
paths
:
# - build/test.log.gz
-
build/test.log.gz
# reports:
reports
:
# junit:
junit
:
# - build/test_outputs/junit*.xml
-
build/test_outputs/junit*.xml
except
:
-
master
coverage
:
coverage
:
# special pipeline for master with coverage report
stage
:
build
stage
:
build
tags
:
tags
:
-
corsika
-
corsika
...
@@ -46,6 +48,8 @@ coverage:
...
@@ -46,6 +48,8 @@ coverage:
reports
:
reports
:
junit
:
junit
:
-
build/test_outputs/junit*.xml
-
build/test_outputs/junit*.xml
only
:
-
master
pages
:
pages
:
stage
:
build
stage
:
build
...
...
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