diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3b7051a60205d9ded3d12364148d76bd696baf95..f0de6bfcd81f02792a9521b220cd7a30a5695ac2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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