diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 594dbc3fb8c6100dc0360cc8bfd711f3d77f5bd7..184e6f9017c54b7f5ac287f87b8a6fcbe42a38bc 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: