Skip to content

Commit

Permalink
Merge pull request #6 from CodexLabsLLC/bug/ros-2-wrapper-fix
Browse files Browse the repository at this point in the history
Expore target libraries to fix ROS2 CI
  • Loading branch information
xxEoD2242 committed Sep 3, 2022
2 parents 50ac1d5 + 847969b commit 54a3e73
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/test_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
cd ros
catkin build -DCMAKE_C_COMPILER=gcc-8 -DCMAKE_CXX_COMPILER=g++-8
- name: Build ROS2 Wrapper
if: matrix.os == 'ubuntu-20.04'
run: |
chmod +x ./tools/install_ros2_deps.sh
./tools/install_ros2_deps.sh
source /opt/ros/*/setup.bash
cd ros2
colcon build --cmake-args -DCMAKE_C_COMPILER=gcc-8 --cmake-args -DCMAKE_CXX_COMPILER=g++-8
# - name: Build ROS2 Wrapper
# if: matrix.os == 'ubuntu-20.04'
# run: |
# chmod +x ./tools/install_ros2_deps.sh
# ./tools/install_ros2_deps.sh
# source /opt/ros/*/setup.bash
# cd ros2
# colcon build --cmake-args -DCMAKE_C_COMPILER=gcc-8 --cmake-args -DCMAKE_CXX_COMPILER=g++-8

- name: Build GazeboDrone
run: |
Expand Down
1 change: 1 addition & 0 deletions ros2/src/airsim_interfaces/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<buildtool_depend>ament_cmake</buildtool_depend>

<buildtool_depend>rosidl_default_generators</buildtool_depend>
<build_depend>rosidl_default_generators</build_depend>

<depend>std_msgs</depend>
<depend>geometry_msgs</depend>
Expand Down

0 comments on commit 54a3e73

Please sign in to comment.