-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e9502d
commit 695e4d5
Showing
11 changed files
with
68,893 additions
and
25,691 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 |
---|---|---|
|
@@ -16,14 +16,32 @@ on: | |
|
||
jobs: | ||
build-with-pixi: | ||
name: '[pixi:${{ matrix.os }}]' | ||
name: '[pixi:${{ matrix.os }}@task:${{ matrix.pixi_task }}]' | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
build_type: [Release] | ||
os: [ubuntu-22.04, macos-13, macos-14, windows-2019] | ||
|
||
pixi_task: [build-all, build-ros2, build-ros2moveit] | ||
exclude: | ||
# ros is not supported on osx-arm64 (incompatibility with gz-sim8) | ||
- os: macos-14 | ||
pixi_task: build-ros2 | ||
# We already test linux-64 and ros2 in build-all-ros2moveit | ||
- os: ubuntu-22.04 | ||
pixi_task: build-ros2 | ||
# Windows build fail due to length of build folder | ||
# See https://github.com/robotology/robotology-superbuild/pull/1746#issuecomment-2514352629 | ||
- os: windows-2019 | ||
pixi_task: build-ros2 | ||
# moveit is only supported on Linux for now (missing required package in robostack) | ||
- os: macos-13 | ||
pixi_task: build-ros2moveit | ||
- os: macos-14 | ||
pixi_task: build-ros2moveit | ||
- os: windows-2019 | ||
pixi_task: build-ros2moveit | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
|
@@ -41,7 +59,8 @@ jobs: | |
- uses: prefix-dev/[email protected] | ||
|
||
- name: Build | ||
- name: Workaround on Windows | ||
if: contains(matrix.os, 'windows') | ||
shell: bash | ||
run: | | ||
# Avoid YCM complaining that the git user is not set | ||
|
@@ -52,4 +71,14 @@ jobs: | |
# needs to be called before calling pixi run build-all, so | ||
# we explicitly call pixi run configure-all | ||
pixi run configure-all | ||
pixi run build-all | ||
# Workaround for build-ros2 builds | ||
pixi run configure-ros2 | ||
- name: Build | ||
shell: bash | ||
run: | | ||
# Avoid YCM complaining that the git user is not set | ||
# Eventually we could consider removing that check in YCM | ||
git config --global user.name PixiGHA User | ||
git config --global user.email [email protected] | ||
pixi run ${{ matrix.pixi_task }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright (C) Fondazione Istituto Italiano di Tecnologia | ||
# CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT | ||
|
||
include(YCMEPHelper) | ||
include(FindOrBuildPackage) | ||
|
||
find_or_build_package(YARP QUIET) | ||
find_or_build_package(yarp-devices-ros2 QUIET) | ||
|
||
|
||
ycm_ep_helper(xcub-moveit2 TYPE GIT | ||
STYLE GITHUB | ||
REPOSITORY icub-tech-iit/xcub-moveit2.git | ||
TAG master | ||
COMPONENT core | ||
FOLDER src | ||
DEPENDS YARP yarp-devices-ros2 | ||
# This is because xcub-moveit2 is a ros-style repository | ||
# composed by multiple CMake projects, for compatibility with CMake | ||
# we added an all_packages folder with CMakeLists.txt that add each | ||
# subfolder with add_subdirectory | ||
SOURCE_SUBDIR xcub_moveit_all_packages) |
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,16 @@ | ||
# Copyright (C) Fondazione Istituto Italiano di Tecnologia | ||
# CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT | ||
|
||
include(YCMEPHelper) | ||
include(FindOrBuildPackage) | ||
|
||
find_or_build_package(YCM QUIET) | ||
find_or_build_package(YARP QUIET) | ||
|
||
ycm_ep_helper(yarp-devices-ros2 TYPE GIT | ||
STYLE GITHUB | ||
REPOSITORY robotology/yarp-devices-ros2.git | ||
TAG master | ||
COMPONENT core | ||
FOLDER src | ||
DEPENDS YCM YARP) |
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
Oops, something went wrong.