Skip to content
Snippets Groups Projects
Commit e1142535 authored by Cyril Moineau's avatar Cyril Moineau
Browse files

[GitLabCI] use venv and add venv to artifact path.

parent 9e8ef554
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,8 @@ build:ubuntu_cpp:
stage: build
tags:
- docker
image: n2d2-ci/ubuntu20.04/cpu:latest
script:
- mkdir -p build_cpp
- mkdir -p install_cpp
......@@ -18,10 +20,14 @@ build:ubuntu_python:
stage: build
tags:
- docker
image: n2d2-ci/ubuntu20.04/cpu:latest
script:
- python3 -m pip install virtualenv
- virtualenv venv
- source venv/bin/activate
- export AIDGE_INSTALL=`pwd`/install
- python3 -m pip install . -v
- python3 -m pip install .
artifacts:
paths:
- build/
- install/
- venv/
\ No newline at end of file
......@@ -3,6 +3,7 @@ test:ubuntu_cpp:
needs: ["build:ubuntu_cpp"]
tags:
- docker
image: n2d2-ci/ubuntu20.04/cpu:latest
script:
- cd build_cpp
- ctest --output-on-failure
......@@ -12,6 +13,7 @@ test:ubuntu_python:
needs: ["build:ubuntu_python"]
tags:
- docker
image: n2d2-ci/ubuntu20.04/cpu:latest
script:
- cd aidge_core
- python3 -m pip list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment