Commit c409e96b authored by Cyril Moineau's avatar Cyril Moineau
Browse files

Separate setup for unbuntu:cpp jobs.

parent 2aa2fe67
Loading
Loading
Loading
Loading
+18 −16
Original line number Diff line number Diff line
@@ -6,20 +6,10 @@ include:
#                                               BUILD
####################################################################################################

###############################
#          BUILD TEMPLATE
.build:ubuntu_cpp:template:
  stage: build
  needs: []
  rules:
    - allow_failure: false
  extends: .build:variable:aidge_install 
  tags:
    - docker
.setup:build:ubuntu_cpp:
  before_script:
    # Download dependencies
    - !reference [.retrieve_deps:apt, script]

    - DEPENDENCY_JOB="$CI_JOB_NAME"
    - !reference [.ubuntu:download:artifacts, before_script]
    # Build current module
@@ -29,6 +19,18 @@ include:
    - echo ${AIDGE_INSTALL/"../"}
    - mkdir -p ${AIDGE_INSTALL/"../"} # strips the variable of "../"

###############################
#          BUILD TEMPLATE
.build:ubuntu_cpp:template:
  stage: build
  needs: []
  rules:
    - allow_failure: false
  extends:
    - .build:variable:aidge_install
    - .setup:build:ubuntu_cpp
  tags:
    - docker
  artifacts:
    expire_in: 3 days
    paths: