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

Put back fast build

No related merge requests found
Showing with 15 additions and 15 deletions
+15 -15
......@@ -19,7 +19,7 @@ variables:
GIT_STRATEGY: "clone"
stages:
# - precheck
- precheck
- prepare
- build
......@@ -30,19 +30,19 @@ 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:
# - git checkout -f -q $CI_COMMIT_SHA
# - python3 CI/check_twin_pipelines.py
# after_script:
# - python3 CI/cdash_handler.py $CI_COMMIT_SHA $CI_PROJECT_ID $CI_PROJECT_DIR $K8S_SECRET_CDASH $CI_MERGE_REQUEST_REF_PATH
# 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:
- git checkout -f -q $CI_COMMIT_SHA
- python3 CI/check_twin_pipelines.py
after_script:
- python3 CI/cdash_handler.py $CI_COMMIT_SHA $CI_PROJECT_ID $CI_PROJECT_DIR $K8S_SECRET_CDASH $CI_MERGE_REQUEST_REF_PATH
script:
- ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast
- ccache -s
.common-build:
extends: .general
......
......@@ -50,7 +50,7 @@ find_program(CTEST_GIT_COMMAND NAMES git git.cmd)
# FIXME: Replace ${GIT} variable with $[CTEST_GIT_COMMAND}"
set( GIT "${CTEST_GIT_COMMAND}" )
set( DEBUG 1 )
execute_process(
COMMAND ${GIT} "clone" "${REMOTE}" "--branch" "${BRANCH_NAME}"
"--depth" "1" "superbuild-artifact"
......
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