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
cf0bb496
Commit
cf0bb496
authored
Nov 25, 2020
by
Pablo Gil Pereira
Browse files
Change CI yml
parent
e7be03a8
Pipeline
#4681
failed with stages
in 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
cf0bb496
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
...
...
@@ -24,7 +26,7 @@ build:prrt:
-
which g++
-
pip3 list --format=legacy | grep Cython
-
pip3 list --format=legacy | grep numpy
-
CC=gcc-5 CXX=g++-5
cmake .
-
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