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

stages:
  - build

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

Antoine Regimbeau's avatar
Antoine Regimbeau committed
14
natif-build:
Sébastien Dinot's avatar
Sébastien Dinot committed
15
16
  extends: .retry_twice
  stage: build
Sébastien Dinot's avatar
Sébastien Dinot committed
17
  image: registry.orfeo-toolbox.org/sdinot/otb:ubuntu-18.04-gcc
Sébastien Dinot's avatar
Sébastien Dinot committed
18
  script:
Antoine Regimbeau's avatar
Antoine Regimbeau committed
19
    - ctest -S CI/main_ci.cmake
Antoine Regimbeau's avatar
Antoine Regimbeau committed
20
21
22
23
24
25
26

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