@@ -34,51 +34,51 @@ jobs:
34
34
run : cd ${{ github.workspace }}/ouroboros_repo && pytest --ignore=third_party --ignore=extra/ouroboros_ros
35
35
- run : echo "🍏 This job's status is ${{ job.status }}."
36
36
37
- Ouroboros-ROS-CI :
38
- runs-on : ubuntu-20.04
39
- steps :
40
- - name : Check out repository code
41
- uses : actions/checkout@v4
42
- with :
43
- path : ouroboros_repo
44
- submodules : recursive
45
- - name : Install ROS
46
- run : |
47
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
48
- sudo apt install curl -y
49
- curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
50
- sudo apt-get update -qq
51
- sudo apt-get install -y ros-noetic-desktop-full
52
- sudo apt-get install dpkg
53
- sudo apt-get install -y python3-rosinstall python3-rosinstall-generator build-essential
54
- sudo apt-get install -y python3-catkin-tools
55
- sudo apt-get install -y python3-rosdep
56
- sudo apt-get install -y python3-wstool
57
- - name : Check if ROS installed
58
- run : |
59
- if [ -d "/opt/ros/noetic" ]; then
60
- echo "ROS Noetic is installed!"
61
- else
62
- echo "ROS Noetic is NOT installed!"
63
- fi
64
- - name : Install ROS packages with rosdep
65
- run : |
66
- source /opt/ros/noetic/setup.bash
67
- sudo rosdep init
68
- rosdep update
69
- mkdir -p ~/catkin_ws/src
70
- mv ${{ github.workspace }}/ouroboros_repo ~/catkin_ws/src/
71
- cd ~/catkin_ws
72
- rosdep install --from-paths src --ignore-src -r -s # do a dry-run first
73
- rosdep install --from-paths src --ignore-src -r -y
74
- - name : catkin build
75
- run : |
76
- source /opt/ros/noetic/setup.bash
77
- cd ~/catkin_ws
78
- catkin build -s
79
- source devel/setup.bash
80
- - name : Install Ouroboros
81
- run : cd ~/catkin_ws/src/ouroboros_repo && python -m pip install --upgrade pip && pip install .
82
- - name : Run test script
83
- run : cd ~/catkin_ws/src/ouroboros_repo && source ~/catkin_ws/devel/setup.bash && pytest --ignore=third_party
84
- - run : echo "🍏 This job's status is ${{ job.status }}."
37
+ # Ouroboros-ROS-CI:
38
+ # runs-on: ubuntu-20.04
39
+ # steps:
40
+ # - name: Check out repository code
41
+ # uses: actions/checkout@v4
42
+ # with:
43
+ # path: ouroboros_repo
44
+ # submodules: recursive
45
+ # - name: Install ROS
46
+ # run: |
47
+ # sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
48
+ # sudo apt install curl -y
49
+ # curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
50
+ # sudo apt-get update -qq
51
+ # sudo apt-get install -y ros-noetic-desktop-full
52
+ # sudo apt-get install dpkg
53
+ # sudo apt-get install -y python3-rosinstall python3-rosinstall-generator build-essential
54
+ # sudo apt-get install -y python3-catkin-tools
55
+ # sudo apt-get install -y python3-rosdep
56
+ # sudo apt-get install -y python3-wstool
57
+ # - name: Check if ROS installed
58
+ # run: |
59
+ # if [ -d "/opt/ros/noetic" ]; then
60
+ # echo "ROS Noetic is installed!"
61
+ # else
62
+ # echo "ROS Noetic is NOT installed!"
63
+ # fi
64
+ # - name: Install ROS packages with rosdep
65
+ # run: |
66
+ # source /opt/ros/noetic/setup.bash
67
+ # sudo rosdep init
68
+ # rosdep update
69
+ # mkdir -p ~/catkin_ws/src
70
+ # mv ${{ github.workspace }}/ouroboros_repo ~/catkin_ws/src/
71
+ # cd ~/catkin_ws
72
+ # rosdep install --from-paths src --ignore-src -r -s # do a dry-run first
73
+ # rosdep install --from-paths src --ignore-src -r -y
74
+ # - name: catkin build
75
+ # run: |
76
+ # source /opt/ros/noetic/setup.bash
77
+ # cd ~/catkin_ws
78
+ # catkin build -s
79
+ # source devel/setup.bash
80
+ # - name: Install Ouroboros
81
+ # run: cd ~/catkin_ws/src/ouroboros_repo && python -m pip install --upgrade pip && pip install .
82
+ # - name: Run test script
83
+ # run: cd ~/catkin_ws/src/ouroboros_repo && source ~/catkin_ws/devel/setup.bash && pytest --ignore=third_party
84
+ # - run: echo "🍏 This job's status is ${{ job.status }}."
0 commit comments