Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishalsub committed Jun 23, 2024
1 parent bf215ed commit 8117d54
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,24 @@ jobs:
with:
required-ros-distributions: humble

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y python3-colcon-common-extensions


- name: Prepare ROS 2 workspace
run: |
mkdir -p ros2_ws/src/tars_amr_sim
cp -r * ros2_ws/src/tars_amr_sim
rsync -av --exclude='ros2_ws' . ros2_ws/src/tars_amr_sim
shell: bash
env:
LANG: en_US.UTF-8



- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y python3-colcon-common-extensions

- name: Build the workspace
run: |
source /opt/ros/humble/setup.sh
cd ros2_ws
colcon build --event-handlers console_cohesion+

0 comments on commit 8117d54

Please sign in to comment.