Skip to content

Commit

Permalink
new github actions and badge status added to README
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonzs13 committed Nov 1, 2024
1 parent c608cf3 commit 826c36a
Show file tree
Hide file tree
Showing 7 changed files with 96 additions and 72 deletions.
72 changes: 0 additions & 72 deletions .github/workflows/ci.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/cpp_formatter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: C++ Formatting Check

on: [push, pull_request]

jobs:
cpp_formatter:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Clang Formatter
uses: DoozyX/[email protected]
with:
clangFormatVersion: 14
source: "."
19 changes: 19 additions & 0 deletions .github/workflows/foxy-docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Foxy Docker Builds

on: [push, pull_request]

jobs:
foxy_docker_build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build Docker
uses: docker/build-push-action@v6
with:
build-args: ROS_DISTRO=foxy
push: false
19 changes: 19 additions & 0 deletions .github/workflows/humble-docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Humble Docker Builds

on: [push, pull_request]

jobs:
humble_docker_build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build Docker
uses: docker/build-push-action@v6
with:
build-args: ROS_DISTRO=humble
push: false
19 changes: 19 additions & 0 deletions .github/workflows/jazzy-docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: jazzy Docker Builds

on: [push, pull_request]

jobs:
jazzy_docker_build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build Docker
uses: docker/build-push-action@v6
with:
build-args: ROS_DISTRO=jazzy
push: false
15 changes: 15 additions & 0 deletions .github/workflows/python_formatter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Python Formatting Check

on: [push, pull_request]

jobs:
python_formatter:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Black Formatter
uses: lgeiger/black-action@master
with:
args: ". --check --diff"
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@

YASMIN is a project focused on implementing robot behaviors using Finite State Machines (FSM). It is available for ROS 2, Python and C++.

[![License: MIT](https://img.shields.io/badge/GitHub-GPL--3.0-informational)](https://opensource.org/license/gpl-3-0) [![Python Formatter Check](https://github.com/uleroboticsgroup/yasmin/actions/workflows/python_formatter.yml/badge.svg)](https://github.com/uleroboticsgroup/yasmin/actions/workflows/python_formatter.yml)[![C++ Formatter Check](https://github.com/uleroboticsgroup/yasmin/actions/workflows/cpp_formatter.yml/badge.svg)](https://github.com/uleroboticsgroup/yasmin/actions/workflows/cpp_formatter.yml)

| ROS 2 Distro | Branch | Build status |
| :----------: | :------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| **Foxy** | [`main`](https://github.com/uleroboticsgroup/yasmin/tree/main) | [![Foxy Build](https://github.com/uleroboticsgroup/yasmin/actions/workflows/foxy-docker-build.yml/badge.svg)](https://github.com/uleroboticsgroup/yasmin/actions/workflows/foxy-docker-build.yml) |
| **Humble** | [`main`](https://github.com/uleroboticsgroup/yasmin/tree/main) | [![Humble Build](https://github.com/uleroboticsgroup/yasmin/actions/workflows/humble-docker-build.yml/badge.svg)](https://github.com/uleroboticsgroup/yasmin/actions/workflows/humble-docker-build.yml) |
| **Jazzy** | [`main`](https://github.com/uleroboticsgroup/yasmin/tree/main) | [![Jazzy Build](https://github.com/uleroboticsgroup/yasmin/actions/workflows/jazzy-docker-build.yml/badge.svg)](https://github.com/uleroboticsgroup/yasmin/actions/workflows/jazzy-docker-build.yml) |

## Table of Contents

1. [Features](#features)
Expand Down

0 comments on commit 826c36a

Please sign in to comment.