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
2 changes: 1 addition & 1 deletion .github/workflows/fork_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: [foxy, galactic, humble, master]
branches: [humble, jazzy, kilted, rolling]
steps:
- name: Check
id: check
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/humble-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: rcutils CI Humble

on:
push:
branches: [ humble ]
pull_request:
branches: [ humble ]

jobs:
humble-ci:
uses: ./.github/workflows/reusable-ci.yml
with:
branch: ${{ github.ref }}
os: ubuntu-22.04
docker-image: ubuntu:jammy
ros-distribution: humble
16 changes: 16 additions & 0 deletions .github/workflows/jazzy-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: rcutils CI Jazzy

on:
push:
branches: [ jazzy ]
pull_request:
branches: [ jazzy ]

jobs:
jazzy-ci:
uses: ./.github/workflows/reusable-ci.yml
with:
branch: ${{ github.ref }}
os: ubuntu-24.04
docker-image: ubuntu:noble
ros-distribution: jazzy
16 changes: 16 additions & 0 deletions .github/workflows/kilted-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: rcutils CI Kilted

on:
push:
branches: [ kilted ]
pull_request:
branches: [ kilted ]

jobs:
kilted-ci:
uses: ./.github/workflows/reusable-ci.yml
with:
branch: ${{ github.ref }}
os: ubuntu-24.04
docker-image: ubuntu:noble
ros-distribution: kilted
56 changes: 56 additions & 0 deletions .github/workflows/reusable-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Reusable rcutils CI

on:
workflow_call:
inputs:
branch:
description: "The rcutils branch to use for the workflow"
required: true
type: string
os:
description: "The OS to use for the workflow"
required: true
type: string
docker-image:
description: "The docker image to use for the workflow"
required: true
type: string
ros-distribution:
description: "The ROS distribution to use for the workflow"
required: true
type: string

jobs:
build:
runs-on: ${{ inputs.os }}
strategy:
fail-fast: false
container:
image: ${{ inputs.docker-image }}
steps:

- run: |
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
uses: ros-tooling/setup-ros@0.7.15
with:
required-ros-distributions: ${{ inputs.ros-distribution }}

- name : Download and install rcutils-dependencies
run: |
apt-get install ros-${{ inputs.ros-distribution }}-mimick-vendor
apt-get -y install ros-${{ inputs.ros-distribution }}-performance-test-fixture

- uses : ros-tooling/action-ros-ci@0.4.5
with:
package-name: "rcutils"
target-ros2-distro: ${{ inputs.ros-distribution }}
skip-tests: true
16 changes: 16 additions & 0 deletions .github/workflows/rolling-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: rcutils CI Rolling

on:
push:
branches: [ rolling ]
pull_request:
branches: [ rolling ]

jobs:
rolling-ci:
uses: ./.github/workflows/reusable-ci.yml
with:
branch: ${{ github.ref }}
os: ubuntu-24.04
docker-image: ubuntu:noble
ros-distribution: rolling
37 changes: 37 additions & 0 deletions .github/workflows/weekly-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: rcutils weekly CI (all distributions)

on:
schedule:
# Run once per week to detect broken dependencies.
- cron: '59 23 * * 0'
workflow_dispatch:

jobs:
humble-ci:
uses: ./.github/workflows/reusable-ci.yml
with:
branch: humble
os: ubuntu-22.04
docker-image: ubuntu:jammy
ros-distribution: humble
jazzy-ci:
uses: ./.github/workflows/reusable-ci.yml
with:
branch: jazzy
os: ubuntu-24.04
docker-image: ubuntu:noble
ros-distribution: jazzy
kilted-ci:
uses: ./.github/workflows/reusable-ci.yml
with:
branch: kilted
os: ubuntu-24.04
docker-image: ubuntu:noble
ros-distribution: kilted
rolling-ci:
uses: ./.github/workflows/reusable-ci.yml
with:
branch: rolling
os: ubuntu-24.04
docker-image: ubuntu:noble
ros-distribution: rolling