From 0ec0ea5d9d8dd1a00abf7c4149aebcb20d3b901d Mon Sep 17 00:00:00 2001 From: Ruixiang Du Date: Thu, 10 Sep 2020 11:55:00 +0800 Subject: [PATCH] added noetic test --- .gitlab-ci.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4fca9bd..3fb4613 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,10 +40,29 @@ melodic-catkin-build: - cp -r /builds/$CI_PROJECT_PATH /catkin_ws/src/wrp_sdk - cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make" -## Build and test as catkin package 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 + - 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-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 + - 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-focal before_script: - apt update && apt -y install libasio-dev script: