Skip to content

Commit 71dfd23

Browse files
authored
Add ros jazzy CI (#38)
* Add ros jazzy CI * Update README.md * Change ndt omp branch for Jazzy CI
1 parent f03ab9a commit 71dfd23

File tree

2 files changed

+62
-33
lines changed

2 files changed

+62
-33
lines changed

.github/workflows/main.yml

Lines changed: 61 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,64 @@ on:
66
- main
77

88
jobs:
9-
humble_build:
10-
name: Build
11-
runs-on: ubuntu-22.04
12-
container: ros:humble
13-
steps:
14-
- uses: actions/checkout@v1
15-
with:
16-
submodules: true
17-
- name: Copy repository
18-
run: |
19-
mkdir -p ~/ros2_ws/src/lidar_localization_ros2
20-
cp -rf . ~/ros2_ws/src/lidar_localization_ros2
21-
- name: Install dependencies
22-
run: |
23-
source /opt/ros/humble/setup.bash
24-
sudo apt install -y python3-rosdep
25-
apt update
26-
rosdep update
27-
cd ~/ros2_ws/src
28-
git clone https://github.com/rsasaki0109/ndt_omp_ros2.git -b humble
29-
rosdep install -r -y --from-paths . --ignore-src
30-
shell: bash
31-
- name: Build packages
32-
run: |
33-
source /opt/ros/humble/setup.bash
34-
# Install colcon
35-
# Ref: https://index.ros.org/doc/ros2/Tutorials/Colcon-Tutorial/
36-
sudo apt install python3-colcon-common-extensions
37-
cd ~/ros2_ws
38-
colcon build
39-
source ~/ros2_ws/install/setup.bash
40-
shell: bash
9+
humble_build:
10+
name: Build on Humble
11+
runs-on: ubuntu-22.04
12+
container: ros:humble
13+
steps:
14+
- uses: actions/checkout@v1
15+
with:
16+
submodules: true
17+
- name: Copy repository
18+
run: |
19+
mkdir -p ~/ros2_ws/src/lidar_localization_ros2
20+
cp -rf . ~/ros2_ws/src/lidar_localization_ros2
21+
- name: Install dependencies
22+
run: |
23+
source /opt/ros/humble/setup.bash
24+
sudo apt install -y python3-rosdep
25+
apt update
26+
rosdep update
27+
cd ~/ros2_ws/src
28+
git clone https://github.com/rsasaki0109/ndt_omp_ros2.git -b humble
29+
rosdep install -r -y --from-paths . --ignore-src
30+
shell: bash
31+
- name: Build packages
32+
run: |
33+
source /opt/ros/humble/setup.bash
34+
sudo apt install python3-colcon-common-extensions
35+
cd ~/ros2_ws
36+
colcon build
37+
source ~/ros2_ws/install/setup.bash
38+
shell: bash
39+
40+
jazzy_build:
41+
name: Build on Jazzy
42+
runs-on: ubuntu-24.04
43+
container: ros:jazzy
44+
steps:
45+
- uses: actions/checkout@v1
46+
with:
47+
submodules: true
48+
- name: Copy repository
49+
run: |
50+
mkdir -p ~/ros2_ws/src/lidar_localization_ros2
51+
cp -rf . ~/ros2_ws/src/lidar_localization_ros2
52+
- name: Install dependencies
53+
run: |
54+
source /opt/ros/jazzy/setup.bash
55+
sudo apt install -y python3-rosdep
56+
apt update
57+
rosdep update
58+
cd ~/ros2_ws/src
59+
git clone https://github.com/rsasaki0109/ndt_omp_ros2.git -b humble
60+
rosdep install -r -y --from-paths . --ignore-src
61+
shell: bash
62+
- name: Build packages
63+
run: |
64+
source /opt/ros/jazzy/setup.bash
65+
sudo apt install python3-colcon-common-extensions
66+
cd ~/ros2_ws
67+
colcon build
68+
source ~/ros2_ws/install/setup.bash
69+
shell: bash

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Green: path, Red: map
5353

5454
## demo
5555

56-
demo data(ROS1) by Tier IV
56+
demo data(ROS1) by Tier IV(The link has changed and is now broken.)
5757
https://data.tier4.jp/rosbag_details/?id=212
5858
To use ros1 rosbag , use [rosbags](https://pypi.org/project/rosbags/).
5959
The Velodyne VLP-16 was used in this data.

0 commit comments

Comments
 (0)