Skip to content

Commit

Permalink
ci: remove commentout
Browse files Browse the repository at this point in the history
  • Loading branch information
uhobeike committed May 14, 2024
1 parent c75187a commit 3f6768f
Showing 1 changed file with 24 additions and 25 deletions.
49 changes: 24 additions & 25 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,33 @@ jobs:
test:
runs-on: ubuntu-22.04
timeout-minutes: 5
# container: osrf/ros:humble-desktop-full
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
exit 1
source /root/ros2_ws/install/setup.bash
ros2 run emcl2 test.bash
shell: bash

retry:
Expand Down

0 comments on commit 3f6768f

Please sign in to comment.