Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
Initial Build.yml for actions
  • Loading branch information
willhoy authored Oct 18, 2023
1 parent cd117d6 commit b145e71
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
Docker:
name: "Check whether docker single-node and cluster workflows build correctly."
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Docker Setup
run: make docker-setup
- name: Docker Tests
run: make docker-test

Documentation:
name: Doxygenize
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Doxygenize
uses: langroodi/[email protected]
with:
# Doxygen configuration file path
doxygenconf: ./docs/Doxyfile
# Generated HTML documents output folder
htmloutput: ./docs
# GitHub Pages branch name
ghpagesbranch: gh-pages
# GitHub Pages directory path
ghpagesdir: ./

Formatting:
name: Clang Format
runs-on: ubuntu-latest
strategy:
matrix:
path:
- 'src'
- 'examples'
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: '14'
check-path: ${{ matrix.path }}

Linting:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master

0 comments on commit b145e71

Please sign in to comment.