From 822fb2760ca774fa4604718cf3fe72e32da5cbe1 Mon Sep 17 00:00:00 2001 From: fherrero <fherrero@iri.upc.edu> Date: Fri, 26 Jul 2019 10:32:27 +0200 Subject: [PATCH] Update ci yaml trying to make submodules sync --- .gitlab-ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 594dbc3..184e6f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,11 @@ image: docker.io/alopeziri/labrobotica - + + variables: + GIT_SUBMODULE_STRATEGY: recursive + before_script: + - git submodule sync --recursive + - git submodule update --init --recursive - which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y ) - eval $(ssh-agent -s) - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null @@ -22,7 +27,8 @@ - apt -y install iri-iriutils-dev iri-comm-dev iri-dynamixel-dev - mkdir -pv build - cd build - - cmake -D CMAKE_BUILD_TYPE=RELEASE -DCPACK_PACKAGE_VERSION=$CI_COMMIT_TAG .. + - cmake -DCMAKE_BUILD_TYPE=RELEASE -DCPACK_PACKAGE_VERSION=$CI_COMMIT_TAG .. + - ls .. - make package -j $(nproc) - make firmware -j $(nproc) artifacts: -- GitLab