Skip to content

Commit

Permalink
ci: add comment out
Browse files Browse the repository at this point in the history
  • Loading branch information
uhobeike committed May 14, 2024
1 parent e866b09 commit d66fc64
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,32 @@ jobs:
timeout-minutes: 5
container: osrf/ros:humble-desktop-full
steps:
- uses: actions/checkout@v2
- name: apt update install
run: |
sudo apt update -y
sudo apt install -y \
psmisc \
rsync \
xvfb \
ros-$ROS_DISTRO-navigation2 \
ros-$ROS_DISTRO-nav2-bringup \
ros-$ROS_DISTRO-turtlebot3-gazebo
- name: build
run: |
mkdir -p /root/ros2_ws/src/emcl2_ros2/
rsync -av ./ /root/ros2_ws/src/emcl2_ros2/
cd /root/ros2_ws
source /opt/ros/$ROS_DISTRO/setup.bash
rosdep update
rosdep install -i -y --from-path src --rosdistro $ROS_DISTRO
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
shell: bash
# - uses: actions/checkout@v2
# - name: apt update install
# run: |
# sudo apt update -y
# sudo apt install -y \
# psmisc \
# rsync \
# xvfb \
# ros-$ROS_DISTRO-navigation2 \
# ros-$ROS_DISTRO-nav2-bringup \
# ros-$ROS_DISTRO-turtlebot3-gazebo
# - name: build
# run: |
# mkdir -p /root/ros2_ws/src/emcl2_ros2/
# rsync -av ./ /root/ros2_ws/src/emcl2_ros2/
# cd /root/ros2_ws
# source /opt/ros/$ROS_DISTRO/setup.bash
# rosdep update
# rosdep install -i -y --from-path src --rosdistro $ROS_DISTRO
# colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
# shell: bash
- name: exec
run: |
source /root/ros2_ws/install/setup.bash
ros2 run emcl2 test.bash
# source /root/ros2_ws/install/setup.bash
# ros2 run emcl2 test.bash
exit 1
shell: bash

retry:
Expand Down

0 comments on commit d66fc64

Please sign in to comment.