Skip to content
Snippets Groups Projects
Commit f597adf5 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Put back fast build

parent 75c86b6c
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ variables: ...@@ -19,7 +19,7 @@ variables:
GIT_STRATEGY: "clone" GIT_STRATEGY: "clone"
stages: stages:
# - precheck - precheck
- prepare - prepare
- build - build
...@@ -30,19 +30,19 @@ stages: ...@@ -30,19 +30,19 @@ stages:
- runner_system_failure - runner_system_failure
- stuck_or_timeout_failure - stuck_or_timeout_failure
# fast-build: fast-build:
# extends: .general extends: .general
# only: [merge_requests, branches] only: [merge_requests, branches]
# stage: precheck stage: precheck
# image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-native-develop:latest image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-native-develop:latest
# before_script: before_script:
# - git checkout -f -q $CI_COMMIT_SHA - git checkout -f -q $CI_COMMIT_SHA
# - python3 CI/check_twin_pipelines.py - python3 CI/check_twin_pipelines.py
# after_script: after_script:
# - python3 CI/cdash_handler.py $CI_COMMIT_SHA $CI_PROJECT_ID $CI_PROJECT_DIR $K8S_SECRET_CDASH $CI_MERGE_REQUEST_REF_PATH - python3 CI/cdash_handler.py $CI_COMMIT_SHA $CI_PROJECT_ID $CI_PROJECT_DIR $K8S_SECRET_CDASH $CI_MERGE_REQUEST_REF_PATH
# script: script:
# - ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast - ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast
# - ccache -s - ccache -s
.common-build: .common-build:
extends: .general extends: .general
......
...@@ -50,7 +50,7 @@ find_program(CTEST_GIT_COMMAND NAMES git git.cmd) ...@@ -50,7 +50,7 @@ find_program(CTEST_GIT_COMMAND NAMES git git.cmd)
# FIXME: Replace ${GIT} variable with $[CTEST_GIT_COMMAND}" # FIXME: Replace ${GIT} variable with $[CTEST_GIT_COMMAND}"
set( GIT "${CTEST_GIT_COMMAND}" ) set( GIT "${CTEST_GIT_COMMAND}" )
set( DEBUG 1 )
execute_process( execute_process(
COMMAND ${GIT} "clone" "${REMOTE}" "--branch" "${BRANCH_NAME}" COMMAND ${GIT} "clone" "${REMOTE}" "--branch" "${BRANCH_NAME}"
"--depth" "1" "superbuild-artifact" "--depth" "1" "superbuild-artifact"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment