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

stages:
  - build

8
.general:
Sébastien Dinot's avatar
Sébastien Dinot committed
9 10 11 12 13 14
  retry:
    max: 2
    when:
      - runner_system_failure
      - stuck_or_timeout_failure

Antoine Regimbeau's avatar
Typo  
Antoine Regimbeau committed
15
native-build:
16
  extends: .general
17
  only: [merge_requests]
Sébastien Dinot's avatar
Sébastien Dinot committed
18
  stage: build
19
  image: registry.orfeo-toolbox.org/gbonnefille/otb-build-env/otb-ubuntu-native:18.04
Sébastien Dinot's avatar
Sébastien Dinot committed
20
  script:
Antoine Regimbeau's avatar
Antoine Regimbeau committed
21
    - ctest -VV -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-gcc
Antoine Regimbeau's avatar
Antoine Regimbeau committed
22

23
build:ubuntu-llvm:
24
  extends: .general
Antoine Regimbeau's avatar
Antoine Regimbeau committed
25
  stage: build
26
  image: registry.orfeo-toolbox.org/gbonnefille/otb-build-env/otb-ubuntu-shark:18.04
Antoine Regimbeau's avatar
Antoine Regimbeau committed
27
  script:
Guillaume Pasero's avatar
Guillaume Pasero committed
28
    - ctest -VV -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-llvm-shark