Skip to content

Commit

Permalink
Added CARET support
Browse files Browse the repository at this point in the history
  • Loading branch information
RaduLucianR authored Mar 4, 2024
1 parent bac5930 commit fb56c1f
Showing 1 changed file with 25 additions and 8 deletions.
33 changes: 25 additions & 8 deletions .github/workflows/build_natively_arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ jobs:
sudo apt update
sudo apt install -y python3-colcon-common-extensions python3-rosdep python3-vcstool
- name: Install cross-compilation tools
run: |
sudo apt-get update && sudo apt-get install -y crossbuild-essential-armhf g++-arm-linux-gnueabihf gcc-arm-linux-gnueabihf
# Install any other dependencies or cross-compilation tools you might need.
- name: Initialize rosdep
run: |
sudo rosdep init
Expand All @@ -43,14 +38,36 @@ jobs:
rosdep install --from-paths ros_ws/src --ignore-src -r -y --rosdistro humble
# Replace 'humble' with your ROS 2 distro if different.
- name: Build the ROS2 workspace
- name: Install VCS
run: |
sudo apt install python3-vcstool
- name: Install CARET
run: |
git clone https://github.com/tier4/caret.git ros2_caret_ws
cd ros2_caret_ws
mkdir src
vcs import src < caret.repos
./setup_caret.sh
source /opt/ros/humble/setup.bash
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
source ~/ros2_caret_ws/install/local_setup.bash
ros2 run tracetools status # return Tracing enabled
- name: Build the ROS2 workspace with CARET
run: |
cd ros_ws
colcon build --symlink-install
source /opt/ros/humble/setup.bash
source ~/ros2_caret_ws/install/local_setup.bash
colcon build --symlink-install --cmake-args -DBUILD_TESTING=OFF
ros2 caret check_caret_rclcpp .
- name: Archive artifacts
run: |
tar -czvf arti.tar.gz ros_ws ros2_caret_ws
- name: Archive the build artifacts
uses: actions/upload-artifact@v4
with:
name: ros2-workspace-artifact
path: ros_ws
path: arti.tar.gz

0 comments on commit fb56c1f

Please sign in to comment.