.gitlab-ci.yml 657 Bytes
Newer Older
1 2 3 4 5 6
variables:
  DOCKER_DRIVER: overlay2

stages:
  - build

7 8
.general:
  only: [merge_requests]
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"
16

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

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