-
-
Notifications
You must be signed in to change notification settings - Fork 9
66 lines (55 loc) · 1.58 KB
/
Copy pathjazzy-build.yml
File metadata and controls
66 lines (55 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Jazzy Build
on:
push:
pull_request:
workflow_dispatch:
concurrency:
group: jazzy-build-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-24.04
container:
image: ros:jazzy-ros-base-noble
defaults:
run:
shell: bash
env:
ROS_DISTRO: jazzy
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Install system dependencies
run: |
apt-get update
apt-get install -y qtbase5-dev
- name: Install package dependencies
run: |
rosdep update
rosdep install \
--from-paths . plugin/frontier_exploration_ros2_rviz \
--ignore-src \
--rosdistro "$ROS_DISTRO" \
-r \
-y
- name: Build core package
run: |
source /opt/ros/$ROS_DISTRO/setup.bash
colcon build \
--event-handlers console_direct+ \
--build-base build-core \
--install-base install \
--packages-select frontier_exploration_ros2
- name: Build RViz plugin package
run: |
source /opt/ros/$ROS_DISTRO/setup.bash
source install/setup.bash
colcon build \
--event-handlers console_direct+ \
--base-paths . plugin/frontier_exploration_ros2_rviz \
--build-base build-all \
--install-base install \
--packages-select frontier_exploration_ros2_rviz \
--cmake-args -DPython3_EXECUTABLE=/usr/bin/python3