Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separated individual workflow builds #203

Merged
merged 3 commits into from
Sep 8, 2024
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
15 changes: 15 additions & 0 deletions .github/workflows/build-ubuntu-22.04-fri-1.11.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: build-ubuntu-22.04-fri-1.11
on:
pull_request:
branches:
- humble
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"

jobs:
build:
uses: ./.github/workflows/build.yml
with:
os: ubuntu-22.04
fri_version: 1.11
15 changes: 15 additions & 0 deletions .github/workflows/build-ubuntu-22.04-fri-1.14.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: build-ubuntu-22.04-fri-1.14
on:
pull_request:
branches:
- humble
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"

jobs:
build:
uses: ./.github/workflows/build.yml
with:
os: ubuntu-22.04
fri_version: 1.14
15 changes: 15 additions & 0 deletions .github/workflows/build-ubuntu-22.04-fri-1.15.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: build-ubuntu-22.04-fri-1.15
on:
pull_request:
branches:
- humble
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"

jobs:
build:
uses: ./.github/workflows/build.yml
with:
os: ubuntu-22.04
fri_version: 1.15
15 changes: 15 additions & 0 deletions .github/workflows/build-ubuntu-22.04-fri-1.16.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: build-ubuntu-22.04-fri-1.16
on:
pull_request:
branches:
- humble
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"

jobs:
build:
uses: ./.github/workflows/build.yml
with:
os: ubuntu-22.04
fri_version: 1.16
15 changes: 15 additions & 0 deletions .github/workflows/build-ubuntu-22.04-fri-2.5.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: build-ubuntu-22.04-fri-2.5
on:
pull_request:
branches:
- humble
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"

jobs:
build:
uses: ./.github/workflows/build.yml
with:
os: ubuntu-22.04
fri_version: 2.5
15 changes: 15 additions & 0 deletions .github/workflows/build-ubuntu-22.04-fri-2.7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: build-ubuntu-22.04-fri-2.7
on:
pull_request:
branches:
- humble
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"

jobs:
build:
uses: ./.github/workflows/build.yml
with:
os: ubuntu-22.04
fri_version: 2.7
22 changes: 10 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
name: Build

on:
pull_request:
branches:
- humble
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"
workflow_call: # https://github.com/orgs/community/discussions/52616#discussioncomment-9364532
inputs:
os:
required: true
type: string
fri_version:
required: true
type: string

# ros 2 ci: https://github.com/marketplace/actions/ros-2-ci-action
# doc: https://ubuntu.com/blog/ros-2-ci-with-github-actions
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
fri_version: [1.11, 1.14, 1.15, 1.16, 2.5, 2.7]
runs-on: ${{ inputs.os }}
steps:
- uses: ros-tooling/setup-ros@v0.7
- uses: ros-tooling/action-ros-ci@v0.2
with:
package-name: lbr_fri_ros2_stack
target-ros2-distro: humble
vcs-repo-file-url: https://raw.githubusercontent.com/lbr-stack/lbr_fri_ros2_stack/humble/lbr_fri_ros2_stack/repos-fri-${{ matrix.fri_version }}.yaml
vcs-repo-file-url: https://raw.githubusercontent.com/lbr-stack/lbr_fri_ros2_stack/humble/lbr_fri_ros2_stack/repos-fri-${{ inputs.fri_version }}.yaml
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# lbr_fri_ros2_stack
[![Build status](https://github.com/lbr-stack/lbr_fri_ros2_stack/actions/workflows/build.yml/badge.svg?branch=humble)](https://github.com/lbr-stack/lbr_fri_ros2_stack/actions)
[![License](https://img.shields.io/github/license/lbr-stack/lbr_fri_ros2_stack)](https://github.com/lbr-stack/lbr_fri_ros2_stack/tree/humble?tab=Apache-2.0-1-ov-file#readme)
[![Documentation Status](https://readthedocs.org/projects/lbr-stack/badge/?version=latest)](https://lbr-stack.readthedocs.io/en/latest/?badge=latest)
[![JOSS](https://joss.theoj.org/papers/c43c82bed833c02503dd47f2637192ef/status.svg)](https://joss.theoj.org/papers/c43c82bed833c02503dd47f2637192ef)
Expand All @@ -24,6 +23,16 @@ ROS 2 packages for the KUKA LBR, including communication to the real robot via t
</table>
</body>

## Status
| OS | ROS Distribution | FRI Version | Build Status |
| :------------- | :--------------- | :---------- | :----------- |
| `Ubuntu-22.04` | `humble` | `1.11` | [![build-ubuntu-22.04-fri-1.11](https://github.com/lbr-stack/lbr_fri_ros2_stack/actions/workflows/build-ubuntu-22.04-fri-1.11.yml/badge.svg)](https://github.com/lbr-stack/lbr_fri_ros2_stack/actions/workflows/build-ubuntu-22.04-fri-1.11.yml) |
| `Ubuntu-22.04` | `humble` | `1.14` | [![build-ubuntu-22.04-fri-1.14](https://github.com/lbr-stack/lbr_fri_ros2_stack/actions/workflows/build-ubuntu-22.04-fri-1.14.yml/badge.svg)](https://github.com/lbr-stack/lbr_fri_ros2_stack/actions/workflows/build-ubuntu-22.04-fri-1.14.yml) |
| `Ubuntu-22.04` | `humble` | `1.15` | [![build-ubuntu-22.04-fri-1.15](https://github.com/lbr-stack/lbr_fri_ros2_stack/actions/workflows/build-ubuntu-22.04-fri-1.15.yml/badge.svg)](https://github.com/lbr-stack/lbr_fri_ros2_stack/actions/workflows/build-ubuntu-22.04-fri-1.15.yml) |
| `Ubuntu-22.04` | `humble` | `1.16` | [![build-ubuntu-22.04-fri-1.16](https://github.com/lbr-stack/lbr_fri_ros2_stack/actions/workflows/build-ubuntu-22.04-fri-1.16.yml/badge.svg)](https://github.com/lbr-stack/lbr_fri_ros2_stack/actions/workflows/build-ubuntu-22.04-fri-1.16.yml) |
| `Ubuntu-22.04` | `humble` | `2.5` | [![build-ubuntu-22.04-fri-2.5](https://github.com/lbr-stack/lbr_fri_ros2_stack/actions/workflows/build-ubuntu-22.04-fri-2.5.yml/badge.svg)](https://github.com/lbr-stack/lbr_fri_ros2_stack/actions/workflows/build-ubuntu-22.04-fri-2.5.yml) |
| `Ubuntu-22.04` | `humble` | `2.7` | [![build-ubuntu-22.04-fri-2.7](https://github.com/lbr-stack/lbr_fri_ros2_stack/actions/workflows/build-ubuntu-22.04-fri-2.7.yml/badge.svg)](https://github.com/lbr-stack/lbr_fri_ros2_stack/actions/workflows/build-ubuntu-22.04-fri-2.7.yml) |

## Documentation
Full documentation available on [Read the Docs](https://lbr-stack.readthedocs.io/en/latest).

Expand Down
Loading