Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
d410c8d8
Commit
d410c8d8
authored
Sep 18, 2019
by
Jens Kroeger
Browse files
Merge branch 'ci_eudaq2' into 'master'
CI: Switch do own Docker image See merge request
!171
parents
e9ecccb5
c5d0d8a6
Pipeline
#1101483
passed with stages
in 19 minutes and 20 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d410c8d8
...
...
@@ -76,6 +76,28 @@ cmp:cc7-gcc:
-
lib
expire_in
:
3 hour
cmp:cc7-docker:
stage
:
compilation
tags
:
-
docker
image
:
name
:
gitlab-registry.cern.ch/corryvreckan/corryvreckan/corryvreckan-deps
entrypoint
:
[
"
"
]
before_script
:
-
source scl_source enable devtoolset-7 || echo " "
script
:
-
mkdir build
-
cd build
-
cmake3 -DBUILD_EventLoaderEUDAQ2=ON -DCMAKE_BUILD_TYPE=RELEASE -DROOT_DIR=$ROOTSYS ..
-
make
-
make install
artifacts
:
paths
:
-
build
-
bin
-
lib
expire_in
:
3 hour
cmp:cc7-llvm:
stage
:
compilation
tags
:
...
...
@@ -124,10 +146,12 @@ cmp:mac1014-clang:
tags
:
-
docker
dependencies
:
-
cmp:cc7-gcc
image
:
clicdp/cc7-base
-
cmp:cc7-docker
image
:
name
:
gitlab-registry.cern.ch/corryvreckan/corryvreckan/corryvreckan-deps
entrypoint
:
[
"
"
]
before_script
:
-
source
.gitlab-ci.d/init_x86_64.sh
-
source
scl_source enable devtoolset-7 || echo " "
tst:telescope:
extends
:
.test
...
...
testing/run_test.sh
View file @
d410c8d8
ABSOLUTE_PATH
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
}
"
)
"
&&
pwd
)
"
# Load dependencies if run by the CI
# FIXME: This is needed because of broken RPATH on Mac
if
[
-n
"
${
CI
}
"
]
;
then
if
[
"
$(
uname
)
"
==
"Darwin"
]
;
then
source
$ABSOLUTE_PATH
/../.gitlab-ci.d/init_mac.sh
else
source
$ABSOLUTE_PATH
/../.gitlab-ci.d/init_x86_64.sh
fi
source
$ABSOLUTE_PATH
/../.gitlab-ci.d/load_deps.sh
fi
# First argument is the data set to be used, ask for the download:
python download_data.py
$1
# Second argument is the full test command to be executed:
exec
$2
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment