Commit cf0bb496 authored by Pablo Gil Pereira's avatar Pablo Gil Pereira
Browse files

Change CI yml

parent e7be03a8
Pipeline #4681 failed with stages
in 19 seconds
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:
- cmake
- docker
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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment