Try using GLOBAL_HOOK to workaround problem with conflicting drake_DIR #35
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: builder | |
on: | |
push: | |
jobs: | |
build_testing: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: ros-tooling/setup-ros@v0.7 | |
with: | |
required-ros-distributions: rolling | |
- uses: ros-tooling/action-ros-ci@v0.3 | |
with: | |
package-name: drake | |
target-ros2-distro: rolling | |
skip-tests: true | |
colcon-defaults: | | |
{ | |
"build": { | |
"cmake-target": "install", | |
"merge-install": true | |
} | |
} | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
repository: RobotLocomotion/drake-external-examples | |
ref: main | |
path: ros_ws/src | |
- name: build tests | |
shell: bash | |
working-directory: ros_ws | |
run: | | |
# gflags is required by drake_cmake_installed | |
sudo apt-get update && sudo apt-get install -y libgflags-dev | |
. /opt/ros/rolling/setup.bash | |
. install/setup.bash | |
cat /home/runner/work/ros-drake-vendor/ros-drake-vendor/ros_ws/install/share/drake/cmake/drakeConfig.cmake | |
colcon build --merge-install --packages-select drake_cmake_installed_apt --event-handlers=console_direct+ |