Forked from
faser / calypso
1453 commits behind the upstream repository.
-
Roland Jansky authoredRoland Jansky authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.gitlab-ci.yml 1.29 KiB
variables:
# all submodules will be cloned recursively upon start of CI job
GIT_SUBMODULE_STRATEGY: recursive
GIT_SSL_NO_VERIFY: "true"
ATLAS_LOCAL_ROOT_BASE: /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
stages:
- build
- test
##########################
# BUILD stage #
##########################
build_image:
# description: triggers a build of the project as a Docker image,
# each branch will have an individual Docker image that will be used
# in the following stages of the pipeline for testing the code
stage: build
tags:
- cvmfs
- docker
script:
- 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