Skip to content

Commit

Permalink
CI : Pull in external repos
Browse files Browse the repository at this point in the history
  • Loading branch information
rcywongaa committed Feb 4, 2025
1 parent 72a1f78 commit 77c0360
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,22 @@ jobs:
defaults:
run:
shell: bash
# working-directory: ./workspace
working-directory: ./ros2_ws
container:
image: ghcr.io/${{ github.actor }}/spaceros2_rust_dev:latest
# options: --user spaceros-user
options: --user root
steps:
- uses: actions/checkout@v4

- name: Pull external repos
run: mkdir src/external && cd src/external && vcs import < ../../external.repos

- name: investigate
run: |
pwd
whoami
ls -la
id -u
colcon list
cd src/external/ros2_rust/rosidl_generator_rs
cat package.xml
- name: Build
run: source /opt/spaceros/install/setup.bash && colcon build --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=1 --packages-up-to bringup
Expand Down
57 changes: 57 additions & 0 deletions ros2_ws/external.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
repositories:
BehaviorTree.CPP:
type: git
url: https://github.com/BehaviorTree/BehaviorTree.CPP.git
version: master
BehaviorTree.ROS2:
type: git
url: https://github.com/BehaviorTree/BehaviorTree.ROS2.git
version: humble
RSL:
type: git
url: https://github.com/PickNikRobotics/RSL.git
version: main
angles:
type: git
url: https://github.com/ros/angles.git
version: ros2
cpp_polyfills:
type: git
url: https://github.com/PickNikRobotics/cpp_polyfills.git
version: main
generate_parameter_library:
type: git
url: https://github.com/PickNikRobotics/generate_parameter_library.git
version: main
geographic_info:
type: git
url: https://github.com/ros-geographic-info/geographic_info.git
version: ros2
ros2_rust:
type: git
url: https://github.com/rcywongaa/ros2_rust.git
version: spaceros
ros2_rust_deps/ros2/common_interfaces:
type: git
url: https://github.com/ros2/common_interfaces.git
version: humble
ros2_rust_deps/ros2/example_interfaces:
type: git
url: https://github.com/ros2/example_interfaces.git
version: humble
ros2_rust_deps/ros2/rcl_interfaces:
type: git
url: https://github.com/ros2/rcl_interfaces.git
version: humble
ros2_rust_deps/ros2/rosidl_defaults:
type: git
url: https://github.com/ros2/rosidl_defaults.git
version: humble
ros2_rust_deps/ros2/test_interface_files:
type: git
url: https://github.com/ros2/test_interface_files.git
version: humble
ros2_rust_deps/ros2/unique_identifier_msgs:
type: git
url: https://github.com/ros2/unique_identifier_msgs.git
version: humble

0 comments on commit 77c0360

Please sign in to comment.