Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F8310077
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Subscribers
None
View Options
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 85f8c20..b5e0714 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,75 +1,89 @@
.tags_template:
tags: &tags_def
- docker
stages:
- - minimal
+ - minimal_compile
- extended_tests
- - rivet
- - QCDloop
- - install
+ - different_compile
- clean
+variables:
+ HEJ_Install_DIR: ../tmp_HEJ/HEJ_installed
+ HEJ_build_DIR: ../tmp_HEJ/build_HEJ
+ FOG_build_DIR: ../tmp_HEJ/build_FOG
+
+after_script:
+ - date
+
.HEJ_compile:
tags: *tags_def
before_script:
- - export HEJ_DIR=${PWD}
- - source /cvmfs/pheno.egi.eu/HEJ/HEJ_env.sh && echo "sourced"
- - cd ..
- - mkdir -p tmp_HEJ/build_HEJ
- - cd tmp_HEJ
- - export HEJ_Install_DIR=${PWD}/HEJ_installed
- - cd build_HEJ
- - cmake ${HEJ_DIR} -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_INSTALL_PREFIX=${HEJ_Install_DIR}
+ - date
+ - source /cvmfs/pheno.egi.eu/HEJ/HEJ_env.sh || exit 1
+ - export t_HEJ_Install_DIR=${PWD}/$HEJ_Install_DIR
+ - export t_HEJ_build_DIR=${PWD}/$HEJ_build_DIR
+ - export t_HEJ_DIR=${PWD}
+ - mkdir -p ${t_HEJ_build_DIR}
+ - cd ${t_HEJ_build_DIR}
+ - cmake ${t_HEJ_DIR} -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_INSTALL_PREFIX=${t_HEJ_Install_DIR}
- make -j 8
- - make install
Minimal_setup:
- stage: minimal
+ stage: minimal_compile
extends: .HEJ_compile
image: hejdock/hepenv
script:
- make test
+ - make install
FOG:
stage: extended_tests
image: hejdock/hepenv
before_script:
- - export FOG_DIR=${PWD}/FixedOrderGen
- - source /cvmfs/pheno.egi.eu/HEJ/HEJ_env.sh && echo "sourced"
- - cd ../tmp_HEJ
- - export HEJ_Install_DIR=${PWD}/HEJ_installed
- - export LD_LIBRARY_PATH=${HEJ_Install_DIR}/lib:${LD_LIBRARY_PATH}
- - export LIBRARY_PATH=${HEJ_Install_DIR}/lib:${LIBRARY_PATH}
- - mkdir -p build_FOG
- - cd build_FOG
- - cmake ${FOG_DIR} -DCMAKE_BUILD_TYPE=DEBUG
+ - date
+ # setup env
+ - source /cvmfs/pheno.egi.eu/HEJ/HEJ_env.sh || exit 1
+ - export t_HEJ_Install_DIR=${PWD}/$HEJ_Install_DIR
+ - export LD_LIBRARY_PATH=${t_HEJ_Install_DIR}/lib:${LD_LIBRARY_PATH}
+ - export LIBRARY_PATH=${t_HEJ_Install_DIR}/lib:${LIBRARY_PATH}
+ - export t_FOG_build_DIR=${PWD}/$FOG_build_DIR
+ - export t_FOG_DIR=${PWD}/FixedOrderGen
+ # compile
+ - mkdir -p ${t_FOG_build_DIR}
+ - cd ${t_FOG_build_DIR}
+ - cmake ${t_FOG_DIR} -DCMAKE_BUILD_TYPE=DEBUG
- make -j 8
script:
- make test
rivet:
- stage: rivet
+ stage: different_compile
extends: .HEJ_compile
image: hejdock/rivetenv
+ variables:
+ HEJ_build_DIR: ../tmp_HEJ/build_HEJ_rivet
script:
- make test
- bash -c '[ -f tst.yoda ]' && echo "found rivet output"
- rivet-cmphistos tst.yoda
- bash -c '[ -f MC_XS_XS.dat ]' && echo "yoda not empty"
QCDloop:
- stage: QCDloop
+ stage: different_compile
extends: .HEJ_compile
image: hejdock/qcdloopenv
+ variables:
+ HEJ_build_DIR: ../tmp_HEJ/build_HEJ_qcd
script:
- make test
clean:
stage: clean
tags: *tags_def
image: hejdock/compilerenv
script:
- cd ..
+ - ls tmp_HEJ
- rm -rf tmp_HEJ
when: always
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Dec 21, 5:19 PM (15 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4023612
Default Alt Text
(3 KB)
Attached To
rHEJ HEJ
Event Timeline
Log In to Comment