Skip to content
Snippets Groups Projects
Commit a69cfe11 authored by Roland Jansky's avatar Roland Jansky
Browse files

Merge branch 'master-CI' into 'master'

Adding CI

See merge request !9
parents a535ddb5 aad06abf
No related branches found
No related tags found
No related merge requests found
...@@ -2,9 +2,11 @@ variables: ...@@ -2,9 +2,11 @@ variables:
# all submodules will be cloned recursively upon start of CI job # all submodules will be cloned recursively upon start of CI job
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
GIT_SSL_NO_VERIFY: "true" GIT_SSL_NO_VERIFY: "true"
ATLAS_LOCAL_ROOT_BASE: /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
stages: stages:
- build - build
- test
########################## ##########################
# BUILD stage # # BUILD stage #
...@@ -16,6 +18,30 @@ build_image: ...@@ -16,6 +18,30 @@ build_image:
# in the following stages of the pipeline for testing the code # in the following stages of the pipeline for testing the code
stage: build stage: build
tags: tags:
- docker-image-build - cvmfs
- docker
script: script:
- ignore - yum -y install redhat-lsb redhat-lsb-core man uuid-devel libuuid libuuid-devel
- mkdir build
- cd build
- set +e && source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh; set -e
- set +e && asetup master,latest,Athena; set -e
- cmake ../../calypso
- make
artifacts:
paths:
- build/
test_unittest:
stage: test
tags:
- cvmfs
- docker
script:
- yum -y install man
- cd build
- set +e && source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh; set -e
- set +e && asetup master,latest,Athena; set -e
- ctest -j12
dependencies:
- build_image
\ No newline at end of file
...@@ -9,7 +9,7 @@ find_package( Athena ) ...@@ -9,7 +9,7 @@ find_package( Athena )
atlas_ctest_setup() atlas_ctest_setup()
atlas_project( Faser 1.0.0 atlas_project( Calypso 1.0.0
USE ${ATLAS_PROJECT} ${${ATLAS_PROJECT}_VERSION} ) USE ${ATLAS_PROJECT} ${${ATLAS_PROJECT}_VERSION} )
lcg_generate_env( SH_FILE ${CMAKE_BINARY_DIR}/${ATLAS_PLATFORM}/env_setup.sh ) lcg_generate_env( SH_FILE ${CMAKE_BINARY_DIR}/${ATLAS_PLATFORM}/env_setup.sh )
......
# The release set in this Dockerfile defines the release of the whole project
# and is parsed by every setup script and by the installation instructions.
# Be aware of this effect if you edit the release here!
FROM atlas/atlas_external_cvmfs
ADD . /calypso
WORKDIR /build
RUN setupATLAS && \
asetup master,latest,Athena && \
cmake -DCMAKE_INSTALL_PREFIX=../run ../calypso && \
make
xAOD::Type::Track, xAOD::Type::CaloCluster xAOD::FaserType::Track, xAOD::FaserType::CaloCluster
UNKNOWN UNKNOWN
\ No newline at end of file
...@@ -2,7 +2,3 @@ id = 1111111111111 ...@@ -2,7 +2,3 @@ id = 1111111111111
word = 1010111 word = 1010111
Dumping StripRawDataAuxContainer Dumping StripRawDataAuxContainer
id:1.11111e+12, dataword:1.01011e+06, id:1.11111e+12, dataword:1.01011e+06,
id = 1111111111111
word = 1010111
Dumping StripRawDataAuxContainer
id:1.11111e+12, dataword:1.01011e+06,
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment