Skip to content

Commit a76200e

Browse files
committed
Address comments
1 parent fdf6746 commit a76200e

1 file changed

Lines changed: 6 additions & 20 deletions

File tree

.github/workflows/linux-x64-build-and-test.yml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -56,27 +56,13 @@ jobs:
5656

5757
- name: Install ROS2 Rolling Nightly
5858
if: ${{ matrix.ros_distribution == 'rolling' }}
59-
env:
60-
ROS2_ROLLING_DIR: /opt/ros2_rolling
6159
run: |
62-
apt-get update && apt-get install -y locales
63-
locale-gen en_US en_US.UTF-8
64-
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
65-
export LANG=en_US.UTF-8
66-
67-
apt-get install -y build-essential cmake curl tar bzip2 wget python3 python3-rosdep
68-
69-
# Download and extract nightly binary
70-
mkdir -p $ROS2_ROLLING_DIR
71-
cd $ROS2_ROLLING_DIR
72-
curl -sL "${{ matrix.ros_tar_url }}" -o ros2-nightly.tar.bz2
73-
tar xf ros2-nightly.tar.bz2
74-
rm ros2-nightly.tar.bz2
75-
76-
# Install dependencies using rosdep
77-
rosdep init || true
78-
rosdep update
79-
rosdep install --from-paths $ROS2_ROLLING_DIR/ros2-linux/share --ignore-src -y --skip-keys "cyclonedds fastcdr fastdds iceoryx_binding_c rmw_connextdds rti-connext-dds-7.3.0 urdfdom_headers"
60+
apt-get update
61+
apt-get install -y build-essential cmake curl tar bzip2 python3
62+
mkdir -p /opt/ros2_rolling
63+
curl -sL "${{ matrix.ros_tar_url }}" -o /tmp/ros2-nightly.tar.bz2
64+
tar xf /tmp/ros2-nightly.tar.bz2 -C /opt/ros2_rolling
65+
rm /tmp/ros2-nightly.tar.bz2
8066
8167
- name: Install test-msgs and mrpt_msgs on Linux
8268
if: ${{ matrix.ros_distribution != 'rolling' }}

0 commit comments

Comments
 (0)