.gitlab-ci.yml 647 Bytes
Newer Older
Sébastien Dinot's avatar
Sébastien Dinot committed
1
variables:
2
  BUILD_REGISTRY: $CI_REGISTRY/gbonnefille
Sébastien Dinot's avatar
Sébastien Dinot committed
3
  DOCKER_DRIVER: overlay2
4
  GIT_DEPTH: "3"
Sébastien Dinot's avatar
Sébastien Dinot committed
5
6
7
8

stages:
  - build

9
10
.general:
  only: [merge_requests]
Sébastien Dinot's avatar
Sébastien Dinot committed
11
12
13
14
15
16
  retry:
    max: 2
    when:
      - runner_system_failure
      - stuck_or_timeout_failure

Antoine Regimbeau's avatar
Typo    
Antoine Regimbeau committed
17
native-build:
18
  extends: .general
Sébastien Dinot's avatar
Sébastien Dinot committed
19
  stage: build
20
  image: $BUILD_REGISTRY/otb-build-env/otb-ubuntu-native:18.04
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
27
  image: $BUILD_REGISTRY/otb-build-env/otb-ubuntu-shark:18.04
Antoine Regimbeau's avatar
Antoine Regimbeau committed
28
  script:
29
    - ctest -VV -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-gcc-shark-3.1.4