Skip to content

Commit 2a1de31

Browse files
authored
Merge pull request #184 from wxmerkt/topic/add-tsid-as-downstream-test
[CI] ROS: Add friendly names; add TSID on Rolling as downstream test
2 parents 032fc87 + 1cea767 commit 2a1de31

File tree

3 files changed

+53
-11
lines changed

3 files changed

+53
-11
lines changed

.github/workflows/ci-linux-ros.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ jobs:
66
strategy:
77
matrix:
88
env:
9-
- {ROS_DISTRO: noetic, CMAKE_BUILD_TYPE: Debug, VECTORIZATION_SUPPORT: OFF}
10-
- {ROS_DISTRO: noetic, CMAKE_BUILD_TYPE: Release, VECTORIZATION_SUPPORT: OFF}
11-
- {ROS_DISTRO: humble, CMAKE_BUILD_TYPE: Debug, VECTORIZATION_SUPPORT: ON}
12-
- {ROS_DISTRO: humble, CMAKE_BUILD_TYPE: Release, VECTORIZATION_SUPPORT: ON}
13-
- {ROS_DISTRO: humble, PRERELEASE: true}
14-
- {ROS_DISTRO: rolling, CMAKE_BUILD_TYPE: Debug, VECTORIZATION_SUPPORT: ON}
15-
- {ROS_DISTRO: rolling, CMAKE_BUILD_TYPE: Release, VECTORIZATION_SUPPORT: ON}
16-
- {ROS_DISTRO: rolling, PRERELEASE: true}
9+
- {name: "Noetic / Debug", ROS_DISTRO: noetic, CMAKE_BUILD_TYPE: Debug, VECTORIZATION_SUPPORT: OFF}
10+
- {name: "Noetic / Release", ROS_DISTRO: noetic, CMAKE_BUILD_TYPE: Release, VECTORIZATION_SUPPORT: OFF}
11+
- {name: "Humble / Debug / Vectorization", ROS_DISTRO: humble, CMAKE_BUILD_TYPE: Debug, VECTORIZATION_SUPPORT: ON}
12+
- {name: "Humble / Release / Vectorization", ROS_DISTRO: humble, CMAKE_BUILD_TYPE: Release, VECTORIZATION_SUPPORT: ON}
13+
- {name: "Humble / Pre-Release", ROS_DISTRO: humble, PRERELEASE: true}
14+
- {name: "Rolling / Debug / Vectorization", ROS_DISTRO: rolling, CMAKE_BUILD_TYPE: Debug, VECTORIZATION_SUPPORT: ON}
15+
- {name: "Rolling / Release / Vectorization", ROS_DISTRO: rolling, CMAKE_BUILD_TYPE: Release, VECTORIZATION_SUPPORT: ON}
16+
- {name: "Rolling / Pre-Release", ROS_DISTRO: rolling, PRERELEASE: true}
17+
- {name: "Rolling / TSID-Downstream", ROS_DISTRO: rolling, CMAKE_BUILD_TYPE: Release, VECTORIZATION_SUPPORT: ON, DOWNSTREAM_WORKSPACE: "github:stack-of-tasks/tsid#devel github:stack-of-tasks/eiquadprog#devel", DOWNSTREAM_CMAKE_ARGS: -DBUILD_WITH_PROXQP=ON}
18+
name: ${{ matrix.env.name }}
1719
env:
1820
#CCACHE_DIR: /github/home/.ccache # Enable ccache
1921
CMAKE_ARGS: -DBUILD_WITH_VECTORIZATION_SUPPORT=${{ matrix.env.VECTORIZATION_SUPPORT }} # Simde is available since humble

CMakeLists.txt

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,3 +168,31 @@ if(BUILD_TESTING AND NOT PROXSUITE_AS_SUBPROJECT)
168168
add_subdirectory(test)
169169
add_subdirectory(examples)
170170
endif()
171+
172+
# catkin/ament/colcon integration (ROS1/2)
173+
install(FILES package.xml DESTINATION share/${PROJECT_NAME})
174+
# Allows Colcon to find non-Ament packages when using workspace underlays
175+
file(
176+
WRITE
177+
${CMAKE_CURRENT_BINARY_DIR}/share/ament_index/resource_index/packages/${PROJECT_NAME}
178+
"")
179+
install(
180+
FILES
181+
${CMAKE_CURRENT_BINARY_DIR}/share/ament_index/resource_index/packages/${PROJECT_NAME}
182+
DESTINATION share/ament_index/resource_index/packages)
183+
file(
184+
WRITE
185+
${CMAKE_CURRENT_BINARY_DIR}/share/${PROJECT_NAME}/hook/ament_prefix_path.dsv
186+
"prepend-non-duplicate;AMENT_PREFIX_PATH;")
187+
install(
188+
FILES
189+
${CMAKE_CURRENT_BINARY_DIR}/share/${PROJECT_NAME}/hook/ament_prefix_path.dsv
190+
DESTINATION share/${PROJECT_NAME}/hook)
191+
if(BUILD_PYTHON_INTERFACE)
192+
file(WRITE
193+
${CMAKE_CURRENT_BINARY_DIR}/share/${PROJECT_NAME}/hook/python_path.dsv
194+
"prepend-non-duplicate;PYTHONPATH;${PYTHON_SITELIB}")
195+
install(
196+
FILES ${CMAKE_CURRENT_BINARY_DIR}/share/${PROJECT_NAME}/hook/python_path.dsv
197+
DESTINATION share/${PROJECT_NAME}/hook)
198+
endif(BUILD_PYTHON_INTERFACE)

package.xml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,24 @@
33
<name>proxsuite</name>
44
<version>0.3.3</version>
55
<description>The Advanced Proximal Optimization Toolbox</description>
6-
<maintainer email="[email protected]">Antoine Bambade</maintainer>
7-
<maintainer email="[email protected]">Fabian Schramm</maintainer>
6+
<!-- Project maintainers -->
87
<maintainer email="[email protected]">Justin Carpentier</maintainer>
8+
9+
<!-- ROS buildfarm release -->
10+
<maintainer email="[email protected]">Wolfgang Merkt</maintainer>
11+
912
<license>BSD-2</license>
1013

11-
<url type="website">https://github.com/Simple-Robotics/proxsuite</url>
14+
<!-- Core authors - cf. CITATION.bib and CITATION.cff -->
15+
<author email="[email protected]">Antoine Bambade</author>
16+
<author>Adrien Taylor</author>
17+
<author email="[email protected]">Fabian Schramm</author>
18+
<author>Sarah El-Kazdadi</author>
19+
<author email="[email protected]">Justin Carpentier</author>
20+
21+
<url type="website">https://simple-robotics.github.io/proxsuite</url>
22+
<url type="repository">https://github.com/Simple-Robotics/proxsuite</url>
23+
<url type="bugtracker">https://github.com/Simple-Robotics/proxsuite/issues</url>
1224

1325
<build_depend>git</build_depend>
1426
<build_depend>doxygen</build_depend>

0 commit comments

Comments
 (0)