.gitlab-ci.yml 656 Bytes
Newer Older
Sébastien Dinot's avatar
Sébastien Dinot committed
1
2
3
4
5
6
variables:
  DOCKER_DRIVER: overlay2

stages:
  - build

7
8
.general:
  only: [merge_requests]
Sébastien Dinot's avatar
Sébastien Dinot committed
9
10
11
12
13
  retry:
    max: 2
    when:
      - runner_system_failure
      - stuck_or_timeout_failure
Antoine Regimbeau's avatar
Antoine Regimbeau committed
14
15
  # variables:
  #   CI_DEBUG_TRACE: "true"
Sébastien Dinot's avatar
Sébastien Dinot committed
16

Antoine Regimbeau's avatar
Antoine Regimbeau committed
17
natif-build:
18
  extends: .general
Sébastien Dinot's avatar
Sébastien Dinot committed
19
  stage: build
Antoine Regimbeau's avatar
Antoine Regimbeau committed
20
  image: registry.orfeo-toolbox.org/orfeotoolbox/otb:ubuntu-18.04-gcc
Sébastien Dinot's avatar
Sébastien Dinot committed
21
  script:
Antoine Regimbeau's avatar
Antoine Regimbeau committed
22
    - ctest -VV -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-gcc
Antoine Regimbeau's avatar
Antoine Regimbeau committed
23
24

shark-build:
25
  extends: .general
Antoine Regimbeau's avatar
Antoine Regimbeau committed
26
  stage: build
Antoine Regimbeau's avatar
Antoine Regimbeau committed
27
  image: registry.orfeo-toolbox.org/orfeotoolbox/otb:ubuntu-18.04-gcc-shark-3.1.4
Antoine Regimbeau's avatar
Antoine Regimbeau committed
28
  script:
Antoine Regimbeau's avatar
Antoine Regimbeau committed
29
    - ctest -VV -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-gcc-shark-3.1.4