-
Notifications
You must be signed in to change notification settings - Fork 576
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable Rolling and Galactic CI (#494)
* Test future versions of ROS2 * Add CI badges to README * Apply compatibility fixes Co-authored-by: Vatan Aksoy Tezer <[email protected]> Co-authored-by: Tyler Weaver <[email protected]> Co-authored-by: Henning Kayser <[email protected]>
- Loading branch information
1 parent
c029942
commit 1d12504
Showing
15 changed files
with
273 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git). | ||
# For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst) | ||
|
||
name: Build and Test (galactic) | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
industrial_ci: | ||
strategy: | ||
matrix: | ||
env: | ||
- ROS_DISTRO: galactic | ||
ROS_REPO: main | ||
- ROS_DISTRO: galactic | ||
ROS_REPO: testing | ||
env: | ||
UPSTREAM_WORKSPACE: moveit2_galactic.repos | ||
AFTER_SETUP_UPSTREAM_WORKSPACE: vcs pull $BASEDIR/upstream_ws/src | ||
TARGET_CMAKE_ARGS: -DCMAKE_BUILD_TYPE=Release | ||
CCACHE_DIR: ${{ github.workspace }}/.ccache | ||
BASEDIR: ${{ github.workspace }}/.work | ||
CACHE_PREFIX: ${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }} | ||
CLANG_TIDY_BASE_REF: ${{ github.base_ref || github.ref }} | ||
|
||
name: ${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: cache upstream_ws | ||
uses: pat-s/[email protected] | ||
with: | ||
path: ${{ env.BASEDIR }}/upstream_ws | ||
key: upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2_galactic.repos') }}-${{ github.run_id }} | ||
restore-keys: | | ||
upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2_galactic.repos') }} | ||
# The target directory cache doesn't include the source directory because | ||
# that comes from the checkout. See "prepare target_ws for cache" task below | ||
- name: cache target_ws | ||
uses: pat-s/[email protected] | ||
with: | ||
path: ${{ env.BASEDIR }}/target_ws | ||
key: target_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('**/CMakeLists.txt', '**/package.xml') }}-${{ github.run_id }} | ||
restore-keys: | | ||
target_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('**/CMakeLists.txt', '**/package.xml') }} | ||
- name: cache ccache | ||
uses: pat-s/[email protected] | ||
with: | ||
path: ${{ env.CCACHE_DIR }} | ||
key: ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}-${{ github.run_id }} | ||
restore-keys: | | ||
ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }} | ||
ccache-${{ env.CACHE_PREFIX }} | ||
- name: industrial_ci | ||
uses: 'ros-industrial/industrial_ci@master' | ||
env: ${{ matrix.env }} | ||
- name: upload test artifacts (on failure) | ||
uses: actions/upload-artifact@v2 | ||
if: failure() | ||
with: | ||
name: test-results | ||
path: ${{ env.BASEDIR }}/target_ws/**/test_results/**/*.xml | ||
- name: prepare target_ws for cache | ||
if: always() | ||
run: | | ||
du -sh ${{ env.BASEDIR }}/target_ws | ||
sudo find ${{ env.BASEDIR }}/target_ws -wholename '*/test_results/*' -delete | ||
sudo rm -rf ${{ env.BASEDIR }}/target_ws/src | ||
du -sh ${{ env.BASEDIR }}/target_ws |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git). | ||
# For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst) | ||
|
||
name: Build and Test (rolling) | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
industrial_ci: | ||
strategy: | ||
matrix: | ||
env: | ||
- ROS_DISTRO: rolling | ||
ROS_REPO: main | ||
- ROS_DISTRO: rolling | ||
ROS_REPO: testing | ||
env: | ||
UPSTREAM_WORKSPACE: moveit2_rolling.repos | ||
AFTER_SETUP_UPSTREAM_WORKSPACE: vcs pull $BASEDIR/upstream_ws/src | ||
TARGET_CMAKE_ARGS: -DCMAKE_BUILD_TYPE=Release | ||
CCACHE_DIR: ${{ github.workspace }}/.ccache | ||
BASEDIR: ${{ github.workspace }}/.work | ||
CACHE_PREFIX: ${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }} | ||
CLANG_TIDY_BASE_REF: ${{ github.base_ref || github.ref }} | ||
|
||
name: ${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: cache upstream_ws | ||
uses: pat-s/[email protected] | ||
with: | ||
path: ${{ env.BASEDIR }}/upstream_ws | ||
key: upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2_rolling.repos') }}-${{ github.run_id }} | ||
restore-keys: | | ||
upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2_rolling.repos') }} | ||
# The target directory cache doesn't include the source directory because | ||
# that comes from the checkout. See "prepare target_ws for cache" task below | ||
- name: cache target_ws | ||
uses: pat-s/[email protected] | ||
with: | ||
path: ${{ env.BASEDIR }}/target_ws | ||
key: target_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('**/CMakeLists.txt', '**/package.xml') }}-${{ github.run_id }} | ||
restore-keys: | | ||
target_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('**/CMakeLists.txt', '**/package.xml') }} | ||
- name: cache ccache | ||
uses: pat-s/[email protected] | ||
with: | ||
path: ${{ env.CCACHE_DIR }} | ||
key: ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}-${{ github.run_id }} | ||
restore-keys: | | ||
ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }} | ||
ccache-${{ env.CACHE_PREFIX }} | ||
- name: industrial_ci | ||
uses: 'ros-industrial/industrial_ci@master' | ||
env: ${{ matrix.env }} | ||
- name: upload test artifacts (on failure) | ||
uses: actions/upload-artifact@v2 | ||
if: failure() | ||
with: | ||
name: test-results | ||
path: ${{ env.BASEDIR }}/target_ws/**/test_results/**/*.xml | ||
- name: prepare target_ws for cache | ||
if: always() | ||
run: | | ||
du -sh ${{ env.BASEDIR }}/target_ws | ||
sudo find ${{ env.BASEDIR }}/target_ws -wholename '*/test_results/*' -delete | ||
sudo rm -rf ${{ env.BASEDIR }}/target_ws/src | ||
du -sh ${{ env.BASEDIR }}/target_ws |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
repositories: | ||
control_msgs: | ||
type: git | ||
url: https://github.com/ros-controls/control_msgs | ||
version: galactic-devel | ||
control_toolbox: | ||
type: git | ||
url: https://github.com/ros-controls/control_toolbox | ||
version: ros2-master | ||
geometric_shapes: | ||
type: git | ||
url: https://github.com/ros-planning/geometric_shapes | ||
version: ros2 | ||
moveit_msgs: | ||
type: git | ||
url: https://github.com/ros-planning/moveit_msgs | ||
version: ros2 | ||
moveit_resources: | ||
type: git | ||
url: https://github.com/ros-planning/moveit_resources | ||
version: ros2 | ||
object_recognition_msgs: | ||
type: git | ||
url: https://github.com/wg-perception/object_recognition_msgs | ||
version: ros2 | ||
random_numbers: | ||
type: git | ||
url: https://github.com/ros-planning/random_numbers | ||
version: ros2 | ||
ros2_control: | ||
type: git | ||
url: https://github.com/ros-controls/ros2_control | ||
version: master | ||
ros2_controllers: | ||
type: git | ||
url: https://github.com/ros-controls/ros2_controllers | ||
version: master | ||
srdfdom: | ||
type: git | ||
url: https://github.com/ros-planning/srdfdom | ||
version: ros2 | ||
warehouse_ros: | ||
type: git | ||
url: https://github.com/ros-planning/warehouse_ros | ||
version: ros2 | ||
warehouse_ros_mongo: | ||
type: git | ||
url: https://github.com/ros-planning/warehouse_ros_mongo | ||
version: ros2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
repositories: | ||
control_msgs: | ||
type: git | ||
url: https://github.com/ros-controls/control_msgs | ||
version: galactic-devel | ||
control_toolbox: | ||
type: git | ||
url: https://github.com/ros-controls/control_toolbox | ||
version: ros2-master | ||
geometric_shapes: | ||
type: git | ||
url: https://github.com/ros-planning/geometric_shapes | ||
version: ros2 | ||
moveit_msgs: | ||
type: git | ||
url: https://github.com/ros-planning/moveit_msgs | ||
version: ros2 | ||
moveit_resources: | ||
type: git | ||
url: https://github.com/ros-planning/moveit_resources | ||
version: ros2 | ||
ros2_control: | ||
type: git | ||
url: https://github.com/ros-controls/ros2_control | ||
version: master | ||
ros2_controllers: | ||
type: git | ||
url: https://github.com/ros-controls/ros2_controllers | ||
version: master | ||
srdfdom: | ||
type: git | ||
url: https://github.com/ros-planning/srdfdom | ||
version: ros2 | ||
warehouse_ros: | ||
type: git | ||
url: https://github.com/ros-planning/warehouse_ros | ||
version: ros2 | ||
warehouse_ros_mongo: | ||
type: git | ||
url: https://github.com/ros-planning/warehouse_ros_mongo | ||
version: ros2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
moveit_ros/planning/trajectory_execution_manager/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.