Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Use drake-examples to build 3 external examples
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero committed Feb 29, 2024
1 parent 3734eca commit 78cfcff
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,20 @@ jobs:
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: rolling
- name: checkout
uses: actions/checkout@v4
with:
repository: RobotLocomotion/drake-external-examples
path: ros_ws/src
- uses: ros-tooling/[email protected]
with:
package-name: drake
package-name: drake drake_cmake_installed drake_cmake_installed_apt drake_ament_cmake_installed
target-ros2-distro: rolling
skip-tests: true
colcon-defaults: |
{
"build": {
"cmake-target": [
"install"
],
"cmake-args": [
"-DCMAKE_PREFIX_PATH=/opt/ros/rolling",
"-DAMENT_PREFIX_PATH=/opt/ros/rolling",
"-DCMAKE_INSTALL_PREFIX=/opt/ros/rolling",
"-DCMAKE_BUILD_TYPE=None"
]
"merge-install": true,
"cmake-target": "install"
}
}
- name: Build cmake example
run: |
. /home/runner/work/ros-drake-vendor/ros-drake-vendor/ros_ws/install/setup.sh
# Checkin if lcm-binaries are in path
which lcm-spy || true
git clone https://github.com/j-rivero/drake-shambhala.git
cd drake-shambhala/drake_ament_cmake_installed/src/drake_ament_cmake_installed
cmake -B build
ctest --test-dir build

0 comments on commit 78cfcff

Please sign in to comment.