Skip to content

Commit

Permalink
individially sourced ros2
Browse files Browse the repository at this point in the history
  • Loading branch information
nchan18 committed Mar 1, 2024
1 parent 8504471 commit 2138b88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
run: docker buildx build -t local .
# - name: rosdep init and update
# run: docker run local apt update && rosdep init && rosdep update
- name: source ros2
run: docker run local /bin/bash -c "source /opt/ros/humble/setup.bash"
# - name: source ros2
# run: docker run local /bin/bash -c "source /opt/ros/humble/setup.bash"
- name: rosdep install
run: docker run local rosdep install --from-paths src -y --ignore-src --rosdistro humble
run: docker run local /bin/bash -c "source /opt/ros/humble/setup.bash" && rosdep install --from-paths src -y --ignore-src --rosdistro humble
- name: colcon build
run: docker run local colcon build
run: docker run local /bin/bash -c "source /opt/ros/humble/setup.bash" && colcon build

0 comments on commit 2138b88

Please sign in to comment.