This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement GitHub action testing and remove Dockerfile manual procedure
Signed-off-by: Jose Luis Rivero <[email protected]>
- Loading branch information
Showing
3 changed files
with
39 additions
and
60 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: drake colcon ws | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
build_testing: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: ros-tooling/[email protected] | ||
with: | ||
required-ros-distributions: rolling | ||
- uses: ros-tooling/[email protected] | ||
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 | ||
colcon build --merge-install --packages-select drake_cmake_installed drake_cmake_installed_apt drake_ament_cmake_installed --event-handlers console_direct+ |
This file was deleted.
Oops, something went wrong.
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