4949 with :
5050 required-ros-distributions : ${{ matrix.ros_distribution }}
5151
52- - name : Install OSQP and OsqpEigen
53- shell : bash
54- run : |
55- set -e
56- apt-get update
57- apt-get install -y --no-install-recommends git cmake build-essential pkg-config
58-
59- git clone --depth 1 https://github.com/osqp/osqp.git /tmp/osqp
60- cmake -S /tmp/osqp -B /tmp/osqp/build -G "Unix Makefiles"
61- cmake --build /tmp/osqp/build
62- cmake --build /tmp/osqp/build --target install
63-
64- git clone --depth 1 https://github.com/robotology/osqp-eigen.git /tmp/osqp-eigen
65- cmake -S /tmp/osqp-eigen -B /tmp/osqp-eigen/build -DCMAKE_INSTALL_PREFIX=/usr/local
66- cmake --build /tmp/osqp-eigen/build
67- cmake --build /tmp/osqp-eigen/build --target install
68-
6952 - name : Check and Install ROS dependencies
7053 shell : bash
7154 run : |
@@ -74,29 +57,24 @@ jobs:
7457 echo "--- Updating rosdep definitions ---"
7558 rosdep update
7659 echo "--- Installing system dependencies for ROS 2 ${{ matrix.ros_distribution }} ---"
77- rosdep install --from-paths ros_ws/src --ignore-src -y -r --rosdistro ${{ matrix.ros_distribution }} --skip-keys "osqp-eigen robotis_interfaces"
60+ rosdep install --from-paths ros_ws/src --ignore-src -y -r --rosdistro ${{ matrix.ros_distribution }} --skip-keys robotis_interfaces
7861 echo "--- Performing rosdep check for ROS 2 ${{ matrix.ros_distribution }} ---"
79- if rosdep check --from-paths ros_ws/src --ignore-src --rosdistro ${{ matrix.ros_distribution }} --skip-keys "osqp-eigen robotis_interfaces" ; then
62+ if rosdep check --from-paths ros_ws/src --ignore-src --rosdistro ${{ matrix.ros_distribution }} --skip-keys robotis_interfaces; then
8063 echo "--- rosdep check passed ---"
8164 else
8265 echo "--- rosdep check failed: Missing system dependencies or unresolvable keys. ---"
8366 exit 1
8467 fi
8568
8669 - name : Build and Test
87- env :
88- CMAKE_PREFIX_PATH : /usr/local:${{ env.CMAKE_PREFIX_PATH }}
89- OsqpEigen_DIR : /usr/local/lib/cmake/OsqpEigen
90- LD_LIBRARY_PATH : /usr/local/lib:${{ env.LD_LIBRARY_PATH }}
9170 uses : ros-tooling/action-ros-ci@v0.3
9271 with :
9372 target-ros2-distro : ${{ matrix.ros_distribution }}
94- vcs-repo-file-url : " https://raw.githubusercontent.com/ROBOTIS-GIT/robotis_motion_controller /${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }}/robotis_motion_controller_ci .repos"
73+ vcs-repo-file-url : " https://raw.githubusercontent.com/ROBOTIS-GIT/cyclo_control /${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }}/cyclo_control_ci .repos"
9574 package-name : |
96- motion_controller
97- motion_controller_core
98- motion_controller_models
99- motion_controller_ros
100- motion_controller_ros_py
101- rosdep-skip-keys : osqp-eigen
102- no-symlink-install : true
75+ cyclo_motion_controller
76+ osqp_eigen_vendor
77+ cyclo_motion_controller_core
78+ cyclo_motion_controller_models
79+ cyclo_motion_controller_ros
80+ cyclo_motion_controller_ros_py
0 commit comments