Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LARN
PRRT
Commits
27e1f32c
Commit
27e1f32c
authored
Nov 11, 2020
by
Pablo Gil Pereira
Browse files
Dockerize CI
parent
e3ca8b96
Pipeline
#4656
passed with stages
in 2 minutes and 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
27e1f32c
image
:
docker.nt.uni-saarland.de/docker/prrt-builder:20.04
variables
:
PYPI_USER
:
SECURE
PYPI_PASSWORD
:
SECURE
...
...
@@ -12,7 +14,7 @@ stages:
build:prrt:
stage
:
build
tags
:
-
cma
ke
-
doc
ke
r
artifacts
:
name
:
"
$CI_BUILD_REF_NAME$"
untracked
:
true
...
...
@@ -22,9 +24,9 @@ build:prrt:
-
which cmake
-
which gcc
-
which g++
-
pip3 list
--format=legacy
| grep Cython
-
pip3 list
--format=legacy
| grep numpy
-
CC=gcc-5 CXX=g++-5
cmake .
-
pip3 list | grep Cython
-
pip3 list | grep numpy
-
cmake .
-
make
test:prrt_mem:
...
...
@@ -32,7 +34,7 @@ test:prrt_mem:
dependencies
:
-
build:prrt
tags
:
-
valgrind
-
docker
script
:
-
bash tests/memtest.sh
...
...
@@ -41,25 +43,24 @@ test:prrt_functional:
dependencies
:
-
build:prrt
tags
:
-
bash
-
docker
script
:
-
rm CMakeCache.txt
-
CC=gcc-5 CXX=g++-5
cmake . -DPRRT_TESTS=1
-
cmake . -DPRRT_TESTS=1
-
make
-
exec ./prrtTests
test:prrt_python_bindings:
stage
:
test
tags
:
-
bash
-
python3
-
docker
script
:
-
sh tests/build.sh
deploy:pypi:
stage
:
deploy
tags
:
-
python3
-
docker
script
:
-
echo "[distutils]" >> ~/.pypirc
-
echo "index-servers =" >> ~/.pypirc
...
...
@@ -75,11 +76,11 @@ deploy:pypi:
deploy:profile:
stage
:
deploy
tags
:
-
gprof
-
docker
script
:
-
ls -lahv
-
rm CMakeCache.txt
-
CC=gcc-5 CXX=g++-5
cmake . -DGPROF=1
-
cmake . -DGPROF=1
-
make
-
bash profiling/profile.sh
artifacts
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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