Commit d16dd866 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Original yaml

No related merge requests found
Showing with 14 additions and 16 deletions
+14 -16
......@@ -41,18 +41,18 @@ stages:
- runner_system_failure
- stuck_or_timeout_failure
# fast-build:
# extends: .general
# only: [merge_requests, branches]
# stage: precheck
# image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-native-develop:latest
# before_script:
# - export GIT_LFS_SKIP_SMUDGE=1
# - git checkout $CI_COMMIT_REF_NAME
# - python3 CI/check_twin_pipelines.py
# script:
# - ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast
# - ccache -s
fast-build:
extends: .general
only: [merge_requests, branches]
stage: precheck
image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-native-develop:latest
before_script:
- export GIT_LFS_SKIP_SMUDGE=1
- git checkout $CI_COMMIT_REF_NAME
- python3 CI/check_twin_pipelines.py
script:
- ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast
- ccache -s
.common-build:
extends: .general
......@@ -104,11 +104,10 @@ ubuntu-llvm:
- sb_branch.txt
ubuntu-superbuild-prepare:
only: [branches]
extends: .common-prepare
image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-superbuild-base:18.04
script:
- ctest -VV -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-ubuntu-superbuild-base
- ctest -V -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-ubuntu-superbuild-base
centos-superbuild-prepare:
extends: .common-prepare
......@@ -117,11 +116,10 @@ centos-superbuild-prepare:
- ctest -V -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-centos-superbuild-base
ubuntu-superbuild-build:
only: [branches]
extends: .common-build
image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-superbuild-base:18.04
script:
- xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -VV -S CI/main_superbuild.cmake -DIMAGE_NAME:string=otb-ubuntu-superbuild-base
- xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -V -S CI/main_superbuild.cmake -DIMAGE_NAME:string=otb-ubuntu-superbuild-base
dependencies:
- ubuntu-superbuild-prepare
......
Supports Markdown
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