mirror of
https://github.com/westonrobot/ugv_sdk
synced 2023-04-08 06:32:14 +08:00
Merge branch 'master' of https://gitlab.com/westonrobot/core/wrp_sdk
This commit is contained in:
@@ -2,89 +2,34 @@
|
||||
xenial-cpp-build:
|
||||
stage: build
|
||||
image: rduweston/ubuntu-ci:16.04
|
||||
# before_script:
|
||||
# - apt update && apt -y install libasio-dev
|
||||
script:
|
||||
- git submodule update --init --recursive
|
||||
- mkdir build && cd build
|
||||
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
- cmake --build . && cpack
|
||||
|
||||
xenial-cpp-test:
|
||||
stage: test
|
||||
image: rduweston/ubuntu-ci:16.04
|
||||
# before_script:
|
||||
# - apt update && apt -y install libasio-dev
|
||||
script:
|
||||
- git submodule update --init --recursive
|
||||
- mkdir build && cd build
|
||||
- cmake -DBUILD_TESTS=ON ..
|
||||
- cmake --build .
|
||||
- ./bin/gtest_all
|
||||
# dependencies:
|
||||
# - cpp-build
|
||||
|
||||
bionic-cpp-build:
|
||||
stage: build
|
||||
image: rduweston/ubuntu-ci:18.04
|
||||
# before_script:
|
||||
# - apt update && apt -y install libasio-dev
|
||||
script:
|
||||
- git submodule update --init --recursive
|
||||
- mkdir build && cd build
|
||||
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
- cmake --build . && cpack
|
||||
# artifacts:
|
||||
# paths:
|
||||
# - build/bin
|
||||
# depending on your build setup it's most likely a good idea to cache outputs to reduce the build time
|
||||
# cache:
|
||||
# paths:
|
||||
# - "*.o"
|
||||
|
||||
bionic-cpp-test:
|
||||
stage: test
|
||||
image: rduweston/ubuntu-ci:18.04
|
||||
# before_script:
|
||||
# - apt update && apt -y install libasio-dev
|
||||
script:
|
||||
- git submodule update --init --recursive
|
||||
- mkdir build && cd build
|
||||
- cmake -DBUILD_TESTS=ON ..
|
||||
- cmake --build .
|
||||
- ./bin/gtest_all
|
||||
# dependencies:
|
||||
# - cpp-build
|
||||
|
||||
focal-cpp-build:
|
||||
stage: build
|
||||
image: rduweston/ubuntu-ci:20.04
|
||||
# before_script:
|
||||
# - apt update && apt -y install libasio-dev
|
||||
script:
|
||||
- git submodule update --init --recursive
|
||||
- mkdir build && cd build
|
||||
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
- cmake --build . && cpack
|
||||
|
||||
focal-cpp-test:
|
||||
stage: test
|
||||
image: rduweston/ubuntu-ci:20.04
|
||||
# before_script:
|
||||
# - apt update && apt -y install libasio-dev
|
||||
script:
|
||||
- git submodule update --init --recursive
|
||||
- mkdir build && cd build
|
||||
- cmake -DBUILD_TESTS=ON ..
|
||||
- cmake --build .
|
||||
- ./bin/gtest_all
|
||||
|
||||
## Build and test as catkin package
|
||||
kinetic-catkin-build:
|
||||
stage: build
|
||||
image: rduweston/ubuntu-ci:kinetic-xenial
|
||||
# before_script:
|
||||
# - apt update && apt -y install libasio-dev
|
||||
script:
|
||||
- mkdir -p /catkin_ws/src && 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/wrp_sdk
|
||||
@@ -96,8 +41,6 @@ kinetic-catkin-build:
|
||||
kinetic-catkin-isolated-build:
|
||||
stage: build
|
||||
image: rduweston/ubuntu-ci:kinetic-xenial
|
||||
# before_script:
|
||||
# - apt update && apt -y install libasio-dev
|
||||
script:
|
||||
- mkdir -p /catkin_ws/src && 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/wrp_sdk
|
||||
@@ -109,8 +52,6 @@ kinetic-catkin-isolated-build:
|
||||
melodic-catkin-build:
|
||||
stage: build
|
||||
image: rduweston/ubuntu-ci:melodic-bionic
|
||||
# before_script:
|
||||
# - apt update && apt -y install libasio-dev
|
||||
script:
|
||||
- mkdir -p /catkin_ws/src && 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/wrp_sdk
|
||||
@@ -122,8 +63,6 @@ melodic-catkin-build:
|
||||
melodic-catkin-isolated-build:
|
||||
stage: build
|
||||
image: rduweston/ubuntu-ci:melodic-bionic
|
||||
# before_script:
|
||||
# - apt update && apt -y install libasio-dev
|
||||
script:
|
||||
- mkdir -p /catkin_ws/src && 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/wrp_sdk
|
||||
@@ -135,8 +74,6 @@ melodic-catkin-isolated-build:
|
||||
noetic-catkin-build:
|
||||
stage: build
|
||||
image: rduweston/ubuntu-ci:noetic-focal
|
||||
# before_script:
|
||||
# - apt update && apt -y install libasio-dev
|
||||
script:
|
||||
- mkdir -p /catkin_ws/src && 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/wrp_sdk
|
||||
@@ -148,8 +85,6 @@ noetic-catkin-build:
|
||||
noetic-catkin-isolated-build:
|
||||
stage: build
|
||||
image: rduweston/ubuntu-ci:noetic-focal
|
||||
# before_script:
|
||||
# - apt update && apt -y install libasio-dev
|
||||
script:
|
||||
- mkdir -p /catkin_ws/src && 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/wrp_sdk
|
||||
|
||||
Reference in New Issue
Block a user