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
8d929c4b
Commit
8d929c4b
authored
6 years ago
by
ralfulrich
Browse files
Options
Downloads
Patches
Plain Diff
added full test logfile as compressed artefact, cascade_example -> 0deg shower
parent
231c3d8c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+5
-1
5 additions, 1 deletion
.gitlab-ci.yml
CMakeLists.txt
+5
-1
5 additions, 1 deletion
CMakeLists.txt
Documentation/Examples/cascade_example.cc
+1
-1
1 addition, 1 deletion
Documentation/Examples/cascade_example.cc
with
11 additions
and
3 deletions
.gitlab-ci.yml
+
5
−
1
View file @
8d929c4b
...
...
@@ -16,7 +16,11 @@ build:
-
cd build
-
cmake ..
-
cmake --build .
-
ctest
-
ctest -V >& test.log
-
gzip -9 test.log
artifacts
:
paths
:
-
test.log.gz
# code_quality:
# image: docker:stable
...
...
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
5
−
1
View file @
8d929c4b
...
...
@@ -37,10 +37,14 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
endif
()
# enable warnings and disallow non-standard language
set
(
CMAKE_CXX_FLAGS
"-Wall -pedantic -Wextra -Wno-ignored-qualifiers
-Wno-nonportable-include-path
"
)
set
(
CMAKE_CXX_FLAGS
"-Wall -pedantic -Wextra -Wno-ignored-qualifiers"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"
${
CMAKE_CXX_FLAGS
}
-O0 -g"
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"
${
CMAKE_CXX_FLAGS
}
-O3"
)
# clang produces a lot of unecessary warnings without this:
add_compile_options
(
"$<$<CXX_COMPILER_ID:Clang>:-Wno-nonportable-include-path>"
)
# unit testing coverage, does not work yet
#include (CodeCoverage)
##set(COVERAGE_LCOV_EXCLUDES 'Documentation/*')
...
...
This diff is collapsed.
Click to expand it.
Documentation/Examples/cascade_example.cc
+
1
−
1
View file @
8d929c4b
...
...
@@ -238,7 +238,7 @@ int main() {
setup
::
Stack
stack
;
stack
.
Clear
();
const
hep
::
EnergyType
E0
=
100
_TeV
;
double
theta
=
45
.
;
double
theta
=
0
.
;
double
phi
=
0.
;
{
auto
particle
=
stack
.
NewParticle
();
...
...
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