diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6c474c6..7405c0d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,8 +18,9 @@ jobs: colcon-defaults: | { "build": { - "merge-install": true, - "cmake-target": "install" + "cmake-target": "install", + "merge-install": true + ] } } - name: checkout @@ -34,5 +35,6 @@ jobs: run: | . /opt/ros/rolling/setup.bash . install/setup.bash + cat /home/runner/work/ros-drake-vendor/ros-drake-vendor/ros_ws/install/share/drake/cmake/drake-extras.cmake colcon graph - colcon build --merge-install --packages-select drake_cmake_installed drake_cmake_installed_apt drake_ament_cmake_installed --event-handlers=console_direct+ + colcon build --merge-install --packages-select drake_cmake_installed drake_cmake_installed_apt drake_ament_cmake_installed --event-handlers=console_direct+ --cmake-args --trace-expand --trace-source=/home/runner/work/ros-drake-vendor/ros-drake-vendor/ros_ws/install/share/drake/cmake/drake-extras.cmake diff --git a/drake-extras.cmake b/drake-extras.cmake index 8caeeda..e843820 100644 --- a/drake-extras.cmake +++ b/drake-extras.cmake @@ -14,4 +14,8 @@ unset(drake_DIR CACHE) # The relative path should drive us to the root of the drake # upstream installation done under ROS. set(drake_path "${drake_DIR}/../../../opt/drake") + +message(STATUS "drake_path: ${drake_path}") +get_filename_component(abs_path ${drake_path} ABSOLUTE) +message(STATUS "Absolute path of drake_path: ${abs_path}") find_package(drake PATHS ${drake_path} NO_DEFAULT_PATH)