From 8141a708d80424a941ae9ca5294aca70b9daba7b Mon Sep 17 00:00:00 2001
From: MaximilienNaveau <maximilien.naveau@gmail.com>
Date: Thu, 9 Dec 2021 11:17:09 +0100
Subject: [PATCH] add the dynamic_graph_bridge_msgs in the CI

---
 .github/workflows/ci_ubuntu18_04_ros1.yml | 10 ++++++++++
 .github/workflows/ci_ubuntu20_04_ros1.yml |  9 +++++++++
 .github/workflows/ci_ubuntu20_04_ros2.yml |  9 +++++++++
 3 files changed, 28 insertions(+)

diff --git a/.github/workflows/ci_ubuntu18_04_ros1.yml b/.github/workflows/ci_ubuntu18_04_ros1.yml
index 94aaaf2..f451c18 100644
--- a/.github/workflows/ci_ubuntu18_04_ros1.yml
+++ b/.github/workflows/ci_ubuntu18_04_ros1.yml
@@ -19,6 +19,7 @@ jobs:
       # Setup the machines and build environment
       #
       - name: Install ROS.
+        id: ros_install
         uses: ros-tooling/setup-ros@v0.2
         with:
           required-ros-distributions: melodic
@@ -27,6 +28,15 @@ jobs:
       # Checkout the current branch
       #
       - uses: actions/checkout@v2
+      
+      #
+      # Clone the dependencies in the ROS workspace
+      #
+      - name: Clone dependencies in the current workspace.
+        shell: bash
+        run: |
+          cd ${{ steps.ros_install.outputs.ros-workspace-directory-name }}/src
+          git clone --recursive https://github.com/stack-of-tasks/dynamic_graph_bridge_msgs.git
 
       #
       # Build and test the repo
diff --git a/.github/workflows/ci_ubuntu20_04_ros1.yml b/.github/workflows/ci_ubuntu20_04_ros1.yml
index 949f364..b93562d 100644
--- a/.github/workflows/ci_ubuntu20_04_ros1.yml
+++ b/.github/workflows/ci_ubuntu20_04_ros1.yml
@@ -28,6 +28,15 @@ jobs:
       #
       - uses: actions/checkout@v2
 
+      #
+      # Clone the dependencies in the ROS workspace
+      #
+      - name: Clone dependencies in the current workspace.
+        shell: bash
+        run: |
+          cd ${{ steps.ros_install.outputs.ros-workspace-directory-name }}/src
+          git clone --recursive https://github.com/stack-of-tasks/dynamic_graph_bridge_msgs.git
+
       #
       # Build and test the repo
       #
diff --git a/.github/workflows/ci_ubuntu20_04_ros2.yml b/.github/workflows/ci_ubuntu20_04_ros2.yml
index 7ed4701..51b8628 100644
--- a/.github/workflows/ci_ubuntu20_04_ros2.yml
+++ b/.github/workflows/ci_ubuntu20_04_ros2.yml
@@ -28,6 +28,15 @@ jobs:
       #
       - uses: actions/checkout@v2
 
+      #
+      # Clone the dependencies in the ROS workspace
+      #
+      - name: Clone dependencies in the current workspace.
+        shell: bash
+        run: |
+          cd ${{ steps.ros_install.outputs.ros-workspace-directory-name }}/src
+          git clone --recursive https://github.com/stack-of-tasks/dynamic_graph_bridge_msgs.git
+
       #
       # Build and test the repo
       #
-- 
GitLab