diff --git a/.gitlab/ci/build.gitlab-ci.yml b/.gitlab/ci/build.gitlab-ci.yml index d32de13fe823672b0e0ef7f9ea8ff63030025b59..0c004a9f2dc9f4425a8e962d0c9d0e9fec83146e 100644 --- a/.gitlab/ci/build.gitlab-ci.yml +++ b/.gitlab/ci/build.gitlab-ci.yml @@ -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 diff --git a/.gitlab/ci/test.gitlab-ci.yml b/.gitlab/ci/test.gitlab-ci.yml index baffc551574df280467b2aebab25eb0d7dcb84b0..b6524252c18ea6651096cc4267a54b725571f8bf 100644 --- a/.gitlab/ci/test.gitlab-ci.yml +++ b/.gitlab/ci/test.gitlab-ci.yml @@ -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