Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
551fb4b2
Commit
551fb4b2
authored
5 years ago
by
Andre Sailer
Committed by
Marko Petric
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Travis: add one test for static libraries
parent
e125833f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.dd4hep-ci.d/compile_and_test.sh
+1
-1
1 addition, 1 deletion
.dd4hep-ci.d/compile_and_test.sh
.travis.yml
+2
-1
2 additions, 1 deletion
.travis.yml
with
3 additions
and
2 deletions
.dd4hep-ci.d/compile_and_test.sh
+
1
−
1
View file @
551fb4b2
...
...
@@ -13,7 +13,7 @@ cmake -GNinja -DDD4HEP_USE_GEANT4=ON \
-DDD4HEP_DEBUG_CMAKE
=
ON
\
-DCMAKE_BUILD_TYPE
=
Release
\
-DCMAKE_CXX_FLAGS
=
"-fdiagnostics-color=always -Werror"
\
-DCMAKE_CXX_STANDARD
=
${
STANDARD
}
..
&&
\
-DCMAKE_CXX_STANDARD
=
${
STANDARD
}
${
CMAKE_ARGS
}
..
&&
\
ninja
&&
\
ninja
install
&&
\
.
../bin/thisdd4hep.sh
&&
\
...
...
This diff is collapsed.
Click to expand it.
.travis.yml
+
2
−
1
View file @
551fb4b2
...
...
@@ -8,6 +8,7 @@ language: cpp
env
:
-
COMPILER=gcc; LCG_RELEASE=LCG_96b; STANDARD=17; COMPILER_VERSION=gcc8; PYTHON_CHECK="no"
-
COMPILER=gcc; LCG_RELEASE=LCG_96b; STANDARD=17; COMPILER_VERSION=gcc8; PYTHON_CHECK="no"; CMAKE_ARGS="-DBUILD_SHARED_LIBS=OFF"
-
COMPILER=gcc; LCG_RELEASE=LCG_96python3; STANDARD=17; COMPILER_VERSION=gcc8; PYTHON_CHECK="no"
-
COMPILER=clang; LCG_RELEASE=LCG_96b; STANDARD=17; COMPILER_VERSION=clang8; PYTHON_CHECK="no"
-
COMPILER=gcc; LCG_RELEASE=LCG_96b; STANDARD=14; COMPILER_VERSION=gcc62; PYTHON_CHECK="no"
...
...
@@ -58,7 +59,7 @@ install:
# command to run tests
script
:
-
docker run -ti --name CI_container -v $PKGDIR:/DD4hep -e COMPILER_TYPE=$COMPILER -e LCG_RELEASE=${LCG_RELEASE} -e STANDARD=${STANDARD} -e COMPILER_VERSION=${COMPILER_VERSION} ${CVMFS_REPOS} -d clicdp/cc7-lcg /bin/bash
-
docker run -ti --name CI_container -v $PKGDIR:/DD4hep -e COMPILER_TYPE=$COMPILER -e LCG_RELEASE=${LCG_RELEASE} -e STANDARD=${STANDARD} -e COMPILER_VERSION=${COMPILER_VERSION}
-e CMAKE_ARGS=${CMAKE_ARGS}
${CVMFS_REPOS} -d clicdp/cc7-lcg /bin/bash
-
if [[ "$PYTHON_CHECK" == "yes" ]];
then docker exec -ti CI_container /bin/bash -c "./DD4hep/.dd4hep-ci.d/runPythonChecks.sh";
else docker exec -ti CI_container /bin/bash -c "./DD4hep/.dd4hep-ci.d/compile_and_test.sh";
...
...
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