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

add github workflow status badges. #15

Merged
merged 1 commit into from
Sep 2, 2023
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
32 changes: 32 additions & 0 deletions .github/workflows/humble.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This is workflow for parameter server with humble
name: humble

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:

# each job goes for each ros supported distribution.
# each job description absorb the distribution dependency as much as possible,
# so that build verification script can be agnostic from distribution dependency.

build:
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

currently only supports for build so concurrency can be ignored in the jobs. once colcon test is supported, certain job dependencies needs to be added here.

runs-on: ubuntu-latest
container:
image: ros:humble
env:
ROS_DISTRO: humble
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Build with ROS humble
shell: bash
run: |
./scripts/build-verification.sh
32 changes: 32 additions & 0 deletions .github/workflows/iron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This is workflow for parameter server with iron
name: iron

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:

# each job goes for each ros supported distribution.
# each job description absorb the distribution dependency as much as possible,
# so that build verification script can be agnostic from distribution dependency.

build:
runs-on: ubuntu-latest
container:
image: ros:iron
env:
ROS_DISTRO: iron
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Build with ROS iron
shell: bash
run: |
./scripts/build-verification.sh
34 changes: 3 additions & 31 deletions .github/workflows/build.yml → .github/workflows/rolling.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This is workflow to build parameter server in ros docker images
name: build
# This is workflow for parameter server with rolling
name: rolling

on:
push:
Expand All @@ -17,7 +17,7 @@ jobs:
# each job description absorb the distribution dependency as much as possible,
# so that build verification script can be agnostic from distribution dependency.

rolling-build:
build:
runs-on: ubuntu-latest
container:
image: ros:rolling
Expand All @@ -30,31 +30,3 @@ jobs:
shell: bash
run: |
./scripts/build-verification.sh

iron-build:
runs-on: ubuntu-latest
container:
image: ros:iron
env:
ROS_DISTRO: iron
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Build with ROS iron
shell: bash
run: |
./scripts/build-verification.sh

humble-build:
runs-on: ubuntu-latest
container:
image: ros:humble
env:
ROS_DISTRO: humble
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Build with ROS humble
shell: bash
run: |
./scripts/build-verification.sh
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![humble](https://github.com/fujitatomoya/ros2_persist_parameter_server/actions/workflows/humble.yml/badge.svg)](https://github.com/fujitatomoya/ros2_persist_parameter_server/actions/workflows/humble.yml) [![iron](https://github.com/fujitatomoya/ros2_persist_parameter_server/actions/workflows/iron.yml/badge.svg)](https://github.com/fujitatomoya/ros2_persist_parameter_server/actions/workflows/iron.yml) [![rolling](https://github.com/fujitatomoya/ros2_persist_parameter_server/actions/workflows/rolling.yml/badge.svg)](https://github.com/fujitatomoya/ros2_persist_parameter_server/actions/workflows/rolling.yml)

# ROS2 Persistent Parameter Server
<!-- TOC -->

Expand Down