diff --git a/.ci_templates/.install_core.yml b/.ci_templates/.install_core.yml index 39c5b5686638381e2e315bcaf285d9c6cf7f7299..142043677ed8031320e3358616bbabf0609305ab 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 ..