Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/humble-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
humble-ci:
uses: ./.github/workflows/reusable-ci.yml
with:
branch: ${{ github.ref }}
os: ubuntu-22.04
docker-image: ubuntu:jammy
ros-distribution: humble
1 change: 0 additions & 1 deletion .github/workflows/jazzy-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
jazzy-ci:
uses: ./.github/workflows/reusable-ci.yml
with:
branch: ${{ github.ref }}
os: ubuntu-24.04
docker-image: ubuntu:noble
ros-distribution: jazzy
1 change: 0 additions & 1 deletion .github/workflows/kilted-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
kilted-ci:
uses: ./.github/workflows/reusable-ci.yml
with:
branch: ${{ github.ref }}
os: ubuntu-24.04
docker-image: ubuntu:noble
ros-distribution: kilted
1 change: 0 additions & 1 deletion .github/workflows/lyrical-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
lyrical-ci:
uses: ./.github/workflows/reusable-ci.yml
with:
branch: ${{ github.ref }}
os: ubuntu-26.04
docker-image: ubuntu:resolute
ros-distribution: lyrical
16 changes: 7 additions & 9 deletions .github/workflows/reusable-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ on:
workflow_call:
inputs:
branch:
description: "The rcutils branch to use for the workflow"
required: true
description: "The rcutils branch to build. Leave unset for push and pull_request."
required: false
default: ""
type: string
os:
description: "The OS to use for the workflow"
Expand Down Expand Up @@ -33,13 +34,7 @@ jobs:
apt-get update && apt-get install -y git
shell: bash

- name: Sync repository
uses: actions/checkout@v5
with:
ref: ${{ inputs.branch }}
submodules: recursive

- name: Setup ROS 2
- name: Setup ROS 2
uses: ros-tooling/setup-ros@0.7.19
with:
required-ros-distributions: ${{ inputs.ros-distribution }}
Expand All @@ -49,8 +44,11 @@ jobs:
apt-get install ros-${{ inputs.ros-distribution }}-mimick-vendor
apt-get -y install ros-${{ inputs.ros-distribution }}-performance-test-fixture

# This action clones the repository itself, so no checkout step is needed.
# When ref is empty it uses the branch that triggered the run.
- uses : ros-tooling/action-ros-ci@0.4.8
with:
package-name: "rcutils"
target-ros2-distro: ${{ inputs.ros-distribution }}
ref: ${{ inputs.branch }}
skip-tests: true
1 change: 0 additions & 1 deletion .github/workflows/rolling-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
rolling-ci:
uses: ./.github/workflows/reusable-ci.yml
with:
branch: ${{ github.ref }}
os: ubuntu-24.04
docker-image: ubuntu:noble
ros-distribution: rolling