Skip to content

Commit

Permalink
attempt to split eigenpy out
Browse files Browse the repository at this point in the history
and run it in one job only (instead of the implicit 4).
The job keeps freezing the runner with the default build.
  • Loading branch information
v4hn committed Aug 30, 2024
1 parent 02f0957 commit 355f5d2
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,21 @@ jobs:
with:
repos: ros-desktop-full
depends: ros-desktop
ros-manipulation:
ros-eigenpy:
if: success() || failure() # can get cancelled
needs: ros-desktop-full
uses: ./.github/workflows/debs-from-repos.yaml
with:
repos: ros-manipulation
repos: ros-eigenpy
depends: ros-desktop-full
ros-manipulation:
if: success() || failure() # can get cancelled
needs: ros-eigenpy
uses: ./.github/workflows/debs-from-repos.yaml
with:
repos: ros-manipulation
depends: ros-eigenpy
extra_sbuild_conf: "$dpkg_buildpackage_user_options = ['--jobs=1'];"
universe-0:
if: success() || failure() # can get cancelled
needs: ros-manipulation
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/debs-from-repos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
type: string
depends:
type: string
extra_sbuild_conf:
type: string
default: ''

# json use example:
# test:
Expand Down Expand Up @@ -51,7 +54,7 @@ jobs:
with:
ROS_DISTRO: ${{ env.ROS_DISTRO }}
DEB_DISTRO: ${{ env.DEB_DISTRO }}
SBUILD_CONF: '$verbose = 1;'
SBUILD_CONF: "$verbose = 1; ${{ inputs.extra_sbuild_conf }}"
ROSDEP_SOURCE: rosdep.yaml
REPOS_FILE: ${{ inputs.repos }}.repos
CONTINUE_ON_ERROR: true
Expand Down
5 changes: 5 additions & 0 deletions ros-eigenpy.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repositories:
eigenpy:
type: git
url: https://github.com/stack-of-tasks/eigenpy
version: master
4 changes: 0 additions & 4 deletions ros-manipulation.repos
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ repositories:
type: git
url: https://github.com/TAMS-Group/bio_ik.git
version: master
eigenpy:
type: git
url: https://github.com/stack-of-tasks/eigenpy
version: master
geometric_shapes:
type: git
url: https://github.com/ros-planning/geometric_shapes.git
Expand Down

0 comments on commit 355f5d2

Please sign in to comment.