CMake and script changes for clang-format

This commit is contained in:
Allen Byrne
2020-09-04 16:36:52 -05:00
parent 6b71d6dc94
commit 30c7264c2c
55 changed files with 1335 additions and 45 deletions

View File

@@ -0,0 +1,16 @@
name: clang-format Check
on: [push]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C programs.
uses: DoozyX/clang-format-lint-action@v0.8
with:
source: '.'
extensions: 'c,h,cpp'
clangFormatVersion: 10
style: file
exclude: './config ./hl/src/H5LTanalyze.c'