.gitlab-ci.yml 683 Bytes
Newer Older
Sébastien Dinot's avatar
Sébastien Dinot committed
1 2
variables:
  DOCKER_DRIVER: overlay2
3
  SITE_NAME: $CI_MERGE_REQUEST_PROJECT_PATH
Sébastien Dinot's avatar
Sébastien Dinot committed
4 5 6 7 8 9 10 11 12 13 14

stages:
  - build

.retry_twice:
  retry:
    max: 2
    when:
      - runner_system_failure
      - stuck_or_timeout_failure

Antoine Regimbeau's avatar
Antoine Regimbeau committed
15
natif-build:
Antoine Regimbeau's avatar
Antoine Regimbeau committed
16 17
  variables:
    CI_DEBUG_TRACE: "true"
Sébastien Dinot's avatar
Sébastien Dinot committed
18 19
  extends: .retry_twice
  stage: build
Antoine Regimbeau's avatar
Antoine Regimbeau committed
20
  image: registry.orfeo-toolbox.org/sdinot/otb:ubuntu-18.04-gccV0.2
Sébastien Dinot's avatar
Sébastien Dinot committed
21
  script:
22
    - echo $SITE_NAME
23 24
#    - ctest -VV -S CI/main_ci.cmake \
#      "-DCTEST_SITE:string=${CI_MERGE_REQUEST_PROJECT_PATH}_ubuntu-18.04"
Antoine Regimbeau's avatar
Antoine Regimbeau committed
25 26 27 28 29 30

shark-build:
  extends: .retry_twice
  stage: build
  image: registry.orfeo-toolbox.org/sdinot/otb:ubuntu18.04-shark3.1.4
  script:
31
    - ctest -VV -S CI/main_ci.cmake