diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dfb20934eedbd1114b537983b6d1fe9ac2a965a9..39f1ff1089c2a4856fd730145a262466cfe7a00c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,30 +10,26 @@ stages: - example_build - example_test -slc6-gcc48_configure: +configure:slc6-gcc48: + stage: configure tags: - docker image: cern/slc6-base - stage: configure script: - source .gitlab-ci.d/init_x86_64-slc6-gcc48-opt.sh - mkdir build - cd build - cmake -D DD4HEP_USE_GEANT4=ON -D DD4HEP_USE_BOOST=ON -DBoost_NO_BOOST_CMAKE=ON -D DD4HEP_USE_LCIO=ON -D BUILD_TESTING=ON -DCLHEP_DIR=$CLHEP -D Geant4_DIR=$G4INSTALL/lib64/Geant4-10.2.0 -D DD4HEP_USE_CXX11=ON .. + artifacts: + paths: + - build -slc6-gcc48_build: - tags: - - docker - image: cern/slc6-base +build:slc6-gcc48: stage: build - script: - - make -j2 - - make install - -slc6-gcc48_test: tags: - docker image: cern/slc6-base - stage: test script: - - make test + - make -j2 + dependencies: + - configure:slc6-gcc48 \ No newline at end of file