.gitlab-ci.yml 689 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
9
.general:
  only: [merge_requests]
Sébastien Dinot's avatar
Sébastien Dinot committed
10
11
12
13
14
  retry:
    max: 2
    when:
      - runner_system_failure
      - stuck_or_timeout_failure
Antoine Regimbeau's avatar
Antoine Regimbeau committed
15
16
  # variables:
  #   CI_DEBUG_TRACE: "true"
Sébastien Dinot's avatar
Sébastien Dinot committed
17

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

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