代码拉取完成,页面将自动刷新
before_script:
# Install ssh-agent if not already installed, it is required by Docker.
# (change apt-get to yum if you use a CentOS-based image)
- 'apt-get -qq update -y && apt-get -qq install build-essential openssh-client sudo -y --no-install-recommends'
# Run ssh-agent (inside the build environment)
- eval $(ssh-agent -s)
# Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store
- ssh-add <(echo "$SSH_PRIVATE_KEY")
# For Docker builds disable host key checking. Be aware that by adding that
# you are suspectible to man-in-the-middle attacks.
# WARNING: Use this only with the Docker executor, if you use it with shell
# you will overwrite your user's SSH config.
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
# Here we are at /build/$CI_PROJECT_NAME
# For pure catkin projects, we need a workspace:
- mkdir -p /build/ws/src/
- cd /build/ws
- ln -s $CI_PROJECT_DIR src/$CI_PROJECT_NAME
- cd src
- git clone gitlab@gitlab.cs.uni-tuebingen.de:libs/cslibs_path_planning
- git clone gitlab@gitlab.cs.uni-tuebingen.de:libs/cslibs_navigation_utilities
# install optional dependencies
- git clone https://github.com/sbpl/sbpl
- cd ..
- rosdep update
- apt-get install -y $(rosdep install --from-paths -i -y -q -r -s src | grep 'apt-get install' | rev | cut -f1 -d' ' | rev | paste -s)
stages:
- build
indigo:
stage: build
image: ros:indigo
script:
- catkin_make_isolated
jade:
stage: build
image: ros:jade
script:
- catkin_make_isolated
kinetic:
stage: build
image: ros:kinetic
script:
- catkin_make_isolated
lunar:
stage: build
image: ros:lunar
script:
- catkin_make_isolated
melodic:
stage: build
image: ros:melodic
script:
- catkin_make_isolated
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。