-
Notifications
You must be signed in to change notification settings - Fork 16
89 lines (87 loc) · 2.72 KB
/
humble-binary-build.yml
File metadata and controls
89 lines (87 loc) · 2.72 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
name: Humble Binary Build
on:
push:
branches:
- humble
pull_request:
branches:
- humble
- release/humble-*
jobs:
humble_binary:
name: Humble binary job
runs-on: ubuntu-22.04
container:
image: osrf/ros:humble-desktop
strategy:
fail-fast: false
env:
ROS_DISTRO: humble
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -y \
wget \
libeigen3-dev \
ros-humble-control-toolbox \
ros-humble-hardware-interface \
ros-humble-joint-state-publisher \
ros-humble-joint-state-publisher-gui \
ros-humble-moveit \
ros-humble-realtime-tools \
ros-humble-robot-state-publisher \
ros-humble-ros2-control \
ros-humble-ros2-controllers \
ros-humble-test-msgs \
ros-humble-tinyxml2-vendor \
ros-humble-xacro
- name: Build and install flexiv_rdk
shell: bash
run: |
git clone https://github.com/flexivrobotics/flexiv_rdk.git -b release/v1.9
cd flexiv_rdk/thirdparty
source /opt/ros/humble/setup.bash
bash build_and_install_dependencies_not_in_ros2.sh ~/flexiv_install
cd ..
mkdir -p build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=~/flexiv_install
cmake --build . --target install --config Release
- name: Build and install flexiv_drdk
shell: bash
run: |
git clone https://github.com/flexivrobotics/flexiv_drdk.git -b release/v1.2
cd flexiv_drdk/thirdparty
source /opt/ros/humble/setup.bash
bash build_and_install_dependencies.sh ~/flexiv_install
cd ..
mkdir -p build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=~/flexiv_install
cmake --build . --target install --config Release
- name: Build and run tests
id: action-ros-ci
uses: ros-tooling/action-ros-ci@v0.4
with:
target-ros2-distro: ${{ env.ROS_DISTRO }}
vcs-repo-file-url: ${{ github.workspace }}/flexiv.humble.repos
package-name: |
flexiv_bringup
flexiv_gripper
flexiv_hardware
flexiv_moveit_config
flexiv_msgs
flexiv_robot_states_broadcaster
flexiv_test_nodes
gpio_controller
colcon-defaults: |
{
"build": {
"cmake-args": [
"-DCMAKE_PREFIX_PATH=~/flexiv_install"
]
}
}
skip-tests: true