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
49dbd8fa
Commit
49dbd8fa
authored
2 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
CI: add geant4 units job
parent
ef4851c4
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/linux.yml
+50
-0
50 additions, 0 deletions
.github/workflows/linux.yml
with
50 additions
and
0 deletions
.github/workflows/linux.yml
+
50
−
0
View file @
49dbd8fa
...
@@ -145,3 +145,53 @@ jobs:
...
@@ -145,3 +145,53 @@ jobs:
-DCMAKE_CXX_STANDARD=17 ..
-DCMAKE_CXX_STANDARD=17 ..
echo "::group::Compile"
echo "::group::Compile"
ninja
ninja
g4units
:
runs-on
:
ubuntu-latest
strategy
:
fail-fast
:
false
matrix
:
LCG
:
[
"
dev3/x86_64-centos7-gcc11-opt"
]
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
cvmfs-contrib/github-action-cvmfs@v2
-
uses
:
aidasoft/run-lcg-view@v1
with
:
release-platform
:
${{ matrix.LCG }}
run
:
|
mkdir build
cd build
unset CPATH
echo "::group::CMakeConfig"
cmake -GNinja \
-DDD4HEP_USE_GEANT4_UNITS=ON \
-DDD4HEP_USE_GEANT4=ON \
-DBoost_NO_BOOST_CMAKE=ON \
-DDD4HEP_USE_LCIO=ON \
-DDD4HEP_USE_EDM4HEP=OFF \
-DDD4HEP_USE_TBB=ON \
-DDD4HEP_USE_HEPMC3=ON \
-DDD4HEP_BUILD_DEBUG=OFF \
-DBUILD_TESTING=ON \
-DDD4HEP_DEBUG_CMAKE=ON \
-DDD4HEP_USE_XERCESC=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="-fdiagnostics-color=always" \
-DCMAKE_CXX_STANDARD=17 ..
echo "::group::Compile"
ninja install
. ../bin/thisdd4hep.sh
echo "::group::Test"
ctest --output-on-failure -j4
echo "::group::CMakeExamples"
cd ../examples/
mkdir build
cd build
cmake -GNinja \
-DBoost_NO_BOOST_CMAKE=ON \
-DDD4HEP_USE_XERCESC=ON \
-DCMAKE_CXX_STANDARD=17 ..
echo "::group::CompileExamples"
ninja install
echo "::group::TestExamples"
ctest --output-on-failure -j2
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