Commit e6d3f47f authored by Guillaume Pasero's avatar Guillaume Pasero

CI: test different pipeline profiles

parent af39ff6e
Pipeline #384 passed with stage
in 20 minutes and 57 seconds
......@@ -6,7 +6,6 @@ stages:
- build
.general:
only: [merge_requests]
retry:
max: 2
when:
......@@ -17,14 +16,45 @@ stages:
native-build:
extends: .general
only: [merge_requests]
stage: build
image: registry.orfeo-toolbox.org/gbonnefille/otb-build-env/otb-ubuntu-native:18.04
script:
- ctest -VV -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-gcc
shark-build:
.build-common:
extends: .general
stage: build
image: registry.orfeo-toolbox.org/gbonnefille/otb-build-env/otb-ubuntu-shark:18.04
script:
- ctest -VV -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-llvm-shark
build-wip:
extends: .build-common
variables:
OTB_CI_PROFILE: 'wip'
except:
- merge_requests
- develop
- /^release-[0-9]+\.[0-9]+$/
build-mr:
extends: .build-common
variables:
OTB_CI_PROFILE: 'mr'
only:
- merge_requests
build-develop:
extends: .build-common
variables:
OTB_CI_PROFILE: 'develop'
only:
- develop
build-release:
extends: .build-common
variables:
OTB_CI_PROFILE: 'release'
only:
- /^release-[0-9]+\.[0-9]+$/
......@@ -42,6 +42,7 @@ set (CMAKE_COMMAND "cmake")
set (OTB_DATA_ROOT "${OTB_SOURCE_DIR}/otb-data/") # todo
set (OTB_LARGEINPUT_ROOT "") # todo
message(STATUS "CI profile : $ENV{OTB_CI_PROFILE}")
#The following file set the CONFIGURE_OPTIONS variable
set (CONFIGURE_OPTIONS "")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment