From 39eabef79a35fb7634212b1c33893d900203d2dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu> Date: Mon, 24 Jan 2022 09:18:18 +0100 Subject: [PATCH] [skip ci] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 58d8fe6..fabdc28 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -74,16 +74,15 @@ stages: - git checkout devel - git pull - git checkout $WOLF_CORE_BRANCH + - git pull - else - - git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/wolf.git + - git clone -b $WOLF_CORE_BRANCH ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/wolf.git - cd wolf - - git checkout $WOLF_CORE_BRANCH - fi - mkdir -pv build - cd build - - cmake -DCMAKE_BUILD_TYPE=release -DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON .. + - cmake -DCMAKE_BUILD_TYPE=release -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF .. - make -j$(nproc) - - ctest -j$(nproc) - make install .build_and_test_template: &build_and_test_definition -- GitLab