Skip to content

Commit

Permalink
add github workflow status badges.
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
  • Loading branch information
fujitatomoya committed Sep 2, 2023
1 parent eff8bc1 commit c45f1a6
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 31 deletions.
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:
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

0 comments on commit c45f1a6

Please sign in to comment.