diff --git a/.ci_templates/.install_core.yml b/.ci_templates/.install_core.yml new file mode 100644 index 0000000000000000000000000000000000000000..39c5b5686638381e2e315bcaf285d9c6cf7f7299 --- /dev/null +++ b/.ci_templates/.install_core.yml @@ -0,0 +1,17 @@ +.install_wolf_script: + - cd ${CI_PROJECT_DIR}/ci_deps + - if [ -d wolf ]; then + - echo "directory wolf exists" + - cd wolf + - git fetch --all + - git checkout $WOLF_CORE_BRANCH + - git pull + - else + - git clone -b $WOLF_CORE_BRANCH ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/wolf.git + - cd wolf + - fi + - mkdir -pv build + - cd build + - cmake -DCMAKE_BUILD_TYPE=release -DBUILD_DEMOS=OFF -DBUILD_TESTS=OFF .. + - make -j$(nproc) + - make install \ No newline at end of file