Skip to content

Commit

Permalink
Use reusable workflows from ros2_control_ci and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Feb 11, 2024
1 parent 1c166c1 commit a71cd38
Show file tree
Hide file tree
Showing 22 changed files with 109 additions and 436 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci-coverage-build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Coverage Build
on:
workflow_dispatch:
branches:
- master
pull_request:
branches:
- master
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/humble-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ on:

jobs:
binary:
uses: ./.github/workflows/reusable-industrial-ci-with-cache.yml
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [humble]
ROS_REPO: [main, testing]
with:
ros_distro: humble
ros_distro: ${{ matrix.ROS_DISTRO }}
ros_repo: ${{ matrix.ROS_REPO }}
upstream_workspace: kinematics_interface-not-released.humble.repos
ref_for_scheduled_build: humble
upstream_workspace: kinematics_interface-not-released.${{ matrix.ROS_DISTRO }}.repos
ref_for_scheduled_build: master
29 changes: 10 additions & 19 deletions .github/workflows/humble-debian-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,13 @@ on:


jobs:
humble_debian:
name: Humble debian build
runs-on: ubuntu-latest
env:
ROS_DISTRO: humble
container: ghcr.io/ros-controls/ros:humble-debian
steps:
- uses: actions/checkout@v4
with:
path: src/kinematics_interface
ref: ${{ github.event_name == 'schedule' && 'humble' || '' }}
- name: Build and test
shell: bash
run: |
source /opt/ros2_ws/install/setup.bash
vcs import src < src/kinematics_interface/kinematics_interface.${{ env.ROS_DISTRO }}.repos
colcon build --packages-up-to kinematics_interface kinematics_interface_kdl
colcon test --packages-select kinematics_interface kinematics_interface_kdl
colcon test-result --verbose
debian_source_build:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-debian-build.yml@master
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [humble]
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
upstream_workspace: kinematics_interface.${{ matrix.ROS_DISTRO }}.repos
ref_for_scheduled_build: master
33 changes: 0 additions & 33 deletions .github/workflows/humble-rhel-binary-build.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/humble-rhel-semi-binary-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: RHEL Humble Semi-Binary Build
on:
workflow_dispatch:
pull_request:
branches:
- humble
schedule:
# Run every day to detect flakiness and broken dependencies
- cron: '42 4 * * *'

jobs:
rhel_semi_binary_build:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-rhel-binary-build.yml@master
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [humble]
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
upstream_workspace: kinematics_interface.${{ matrix.ROS_DISTRO }}.repos
ref_for_scheduled_build: master
10 changes: 6 additions & 4 deletions .github/workflows/humble-semi-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ on:

jobs:
semi_binary:
uses: ./.github/workflows/reusable-industrial-ci-with-cache.yml
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [humble]
ROS_REPO: [main, testing]
with:
ros_distro: humble
ros_distro: ${{ matrix.ROS_DISTRO }}
ros_repo: ${{ matrix.ROS_REPO }}
upstream_workspace: kinematics_interface.humble.repos
ref_for_scheduled_build: humble
upstream_workspace: kinematics_interface.${{ matrix.ROS_DISTRO }}.repos
ref_for_scheduled_build: master
12 changes: 8 additions & 4 deletions .github/workflows/humble-source-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ on:

jobs:
source:
uses: ./.github/workflows/reusable-ros-tooling-source-build.yml
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-ros-tooling-source-build.yml@master
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [humble]
with:
ros_distro: humble
ref: humble
ros2_repo_branch: humble
ros_distro: ${{ matrix.ROS_DISTRO }}
ref: master
ros2_repo_branch: ${{ matrix.ROS_DISTRO }}
18 changes: 0 additions & 18 deletions .github/workflows/iron-abi-compatibility.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/iron-binary-build.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/iron-debian-build.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/iron-rhel-binary-build.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/iron-semi-binary-build.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/iron-source-build.yml

This file was deleted.

Loading

0 comments on commit a71cd38

Please sign in to comment.