Skip to content

Commit

Permalink
CI github actions added
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonzs13 committed Oct 25, 2024
1 parent 14f5dfd commit 5c7a593
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI with Formatting Check and Docker

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"

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: "."

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:
push: false

0 comments on commit 5c7a593

Please sign in to comment.