.gitlab-ci.yml 636 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/sdinot/otb:ubuntu-18.04-gccV0.2
Sébastien Dinot's avatar
Sébastien Dinot committed
21
  script:
22
    - ctest -VV -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-gccV0.2
Antoine Regimbeau's avatar
Antoine Regimbeau committed
23
24

shark-build:
25
  extends: .general
Antoine Regimbeau's avatar
Antoine Regimbeau committed
26
27
28
  stage: build
  image: registry.orfeo-toolbox.org/sdinot/otb:ubuntu18.04-shark3.1.4
  script:
29
    - ctest -VV -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu18.04-shark3.1.4