From da559e075ef157590cd3ab233f45725e0b9be61b Mon Sep 17 00:00:00 2001 From: Pablo Garrido Date: Fri, 23 Apr 2021 11:08:48 +0200 Subject: [PATCH] Fix CI --- .github/workflows/ci.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3fbc77d..9003c81 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,21 +12,27 @@ jobs: container: microros/base:foxy steps: + - uses: actions/checkout@v2 + with: + path: urosagent + - name: Download dependencies run: | + apt update cd /uros_ws - . /opt/ros/foxy/setup.sh + . /opt/ros/$ROS_DISTRO/setup.sh . install/local_setup.sh rosdep update ros2 run micro_ros_setup create_agent_ws.sh - - - uses: actions/checkout@v2 - with: - path: src/uros/micro-ROS-Agent + + - name: Patch branch + run: | + rm -rf /uros_ws/src/uros/micro-ROS-Agent/* + cp -R urosagent/* /uros_ws/src/uros/micro-ROS-Agent/ - name: Build run: | cd /uros_ws - . /opt/ros/foxy/setup.sh + . /opt/ros/$ROS_DISTRO/setup.sh . install/local_setup.sh ros2 run micro_ros_setup build_agent.sh \ No newline at end of file