From 6bd193184e98f2a71c15c5ddf3912f034416a746 Mon Sep 17 00:00:00 2001 From: Marko Petric <marko.petric@cern.ch> Date: Wed, 16 Mar 2016 12:58:38 +0000 Subject: [PATCH] Add artifacts and dependencies to builds --- .gitlab-ci.yml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dfb20934e..39f1ff108 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 -- GitLab