From d9e95bfcb3a3c4abbf9fff766aff60fc013e4586 Mon Sep 17 00:00:00 2001 From: joanvallve <jvallve@iri.upc.edu> Date: Fri, 26 Jul 2024 11:41:49 +0200 Subject: [PATCH] [skip ci] small changes in ci_templates --- .ci_templates/.install_core.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.ci_templates/.install_core.yml b/.ci_templates/.install_core.yml index 39c5b5686..142043677 100644 --- a/.ci_templates/.install_core.yml +++ b/.ci_templates/.install_core.yml @@ -1,4 +1,10 @@ .install_wolf_script: + - cd ${CI_PROJECT_DIR} + + # create 'ci_deps' folder (if not exists) + - mkdir -pv ci_deps + + # clone or pull - cd ${CI_PROJECT_DIR}/ci_deps - if [ -d wolf ]; then - echo "directory wolf exists" @@ -10,6 +16,8 @@ - git clone -b $WOLF_CORE_BRANCH ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/wolf.git - cd wolf - fi + + # build and install - mkdir -pv build - cd build - cmake -DCMAKE_BUILD_TYPE=release -DBUILD_DEMOS=OFF -DBUILD_TESTS=OFF .. -- GitLab