Skip to content

Commit

Permalink
debug path
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
  • Loading branch information
j-rivero committed Mar 1, 2024
1 parent 8022ad2 commit 0657905
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ jobs:
colcon-defaults: |
{
"build": {
"merge-install": true,
"cmake-target": "install"
"cmake-target": "install",
"merge-install": true
]
}
}
- name: checkout
Expand All @@ -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
4 changes: 4 additions & 0 deletions drake-extras.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 0657905

Please sign in to comment.