.gitlab-ci.yml 643 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:
Sébastien Dinot's avatar
Sébastien Dinot committed
16
17
  extends: .retry_twice
  stage: build
Antoine Regimbeau's avatar
Antoine Regimbeau committed
18
  image: registry.orfeo-toolbox.org/sdinot/otb:ubuntu-18.04-gccV0.2
Sébastien Dinot's avatar
Sébastien Dinot committed
19
  script:
20
    - echo $SITE_NAME
21
22
#    - 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
23
24
25
26
27
28

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