Skip to content
Snippets Groups Projects
Forked from Eclipse Projects / aidge / aidge_core
2510 commits behind the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
build.gitlab-ci.yml 592 B
build:ubuntu_cpp:
  stage: build
  tags:
    - docker
  image: n2d2-ci/ubuntu20.04/cpu:latest

  script:
    - mkdir -p build_cpp
    - mkdir -p install_cpp
    - cd build_cpp
    - cmake -DCMAKE_INSTALL_PREFIX:PATH=../install_cpp -DCMAKE_BUILD_TYPE=Debug -DWERROR=ON ..
    - make -j4 all install

  artifacts:
    paths:
      - build_cpp/
      - install_cpp/

build:ubuntu_python:
  stage: build
  tags:
    - docker
  image: n2d2-ci/ubuntu20.04/cpu:latest

  script:
    - export AIDGE_INSTALL=`pwd`/install
    - pip install . -v
  artifacts:
    paths:
      - build/
      - install/