1 Star 0 Fork 0

kay2020/ugv_sdk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.gitlab-ci.yml 3.48 KB
一键复制 编辑 原始数据 按行查看 历史
Ruixiang Du 提交于 2021-07-06 11:24 +08:00 . ci: fixing libasio-dev dep
## Build and test as standard C++ package
xenial-cpp-build:
stage: build
image: rduweston/ubuntu-ci:16.04
before_script:
- apt update && apt -y install libasio-dev
script:
- mkdir build && cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- cmake --build . && cpack
bionic-cpp-build:
stage: build
image: rduweston/ubuntu-ci:18.04
before_script:
- apt update && apt -y install libasio-dev
script:
- mkdir build && cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- cmake --build . && cpack
focal-cpp-build:
stage: build
image: rduweston/ubuntu-ci:20.04
before_script:
- apt update && apt -y install libasio-dev
script:
- mkdir build && cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- cmake --build . && cpack
## Build and test as catkin package
kinetic-catkin-build:
stage: build
image: rduweston/ubuntu-ci:kinetic
before_script:
- apt update && apt -y install libasio-dev
script:
- mkdir -p /catkin_ws/src/ugv_sdk/ugv_sdk && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- cp -r /builds/$CI_PROJECT_PATH /catkin_ws/src/ugv_sdk
- cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make"
kinetic-catkin-isolated-build:
stage: build
image: rduweston/ubuntu-ci:kinetic
before_script:
- apt update && apt -y install libasio-dev
script:
- mkdir -p /catkin_ws/src/ugv_sdk/ugv_sdk && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- cp -r /builds/$CI_PROJECT_PATH /catkin_ws/src/ugv_sdk
- cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make_isolated --install"
melodic-catkin-build:
stage: build
image: rduweston/ubuntu-ci:melodic
before_script:
- apt update && apt -y install libasio-dev
script:
- mkdir -p /catkin_ws/src/ugv_sdk && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- cp -r /builds/$CI_PROJECT_PATH /catkin_ws/src/ugv_sdk
- cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make"
melodic-catkin-isolated-build:
stage: build
image: rduweston/ubuntu-ci:melodic
before_script:
- apt update && apt -y install libasio-dev
script:
- mkdir -p /catkin_ws/src/ugv_sdk && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- cp -r /builds/$CI_PROJECT_PATH /catkin_ws/src/ugv_sdk
- cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make_isolated --install"
noetic-catkin-build:
stage: build
image: rduweston/ubuntu-ci:noetic
before_script:
- apt update && apt -y install libasio-dev
script:
- mkdir -p /catkin_ws/src/ugv_sdk && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- cp -r /builds/$CI_PROJECT_PATH /catkin_ws/src/ugv_sdk
- cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make"
noetic-catkin-isolated-build:
stage: build
image: rduweston/ubuntu-ci:noetic
before_script:
- apt update && apt -y install libasio-dev
script:
- mkdir -p /catkin_ws/src/ugv_sdk && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- cp -r /builds/$CI_PROJECT_PATH /catkin_ws/src/ugv_sdk
- cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make_isolated --install"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kay2020/ugv_sdk.git
git@gitee.com:kay2020/ugv_sdk.git
kay2020
ugv_sdk
ugv_sdk
main

搜索帮助