clang format push commit for develop (#453)
* OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit * Note LLVM 10 to 11 format default changes * Update format plugin * Undo clang-format version 11 changes * One more correction * Update supported platforms * Revert whitespace changes * Correct whitespace * Changes from PR#3 * HDFFV-11213 added option to control gcc10 warnings diagnostics * HDFFV-11212 Use the new references correctly in JNI utility and tests * format source * Fix typo * Add new test file * HDFFV-11212 - update test and remove unused arg * Minor non-space formatting changes * Use H5I_INVALID_ID instead of "-1" * source formatting * add missing testfile, update jni function * Undo commit of debug code * remove mislocated file * Fix h5repack test for handling of fapls and id close * Update h5diff test files usage text * HDFFV-11212 add new ref tests for JNI export dataset * src format update * Remove blank line typo * src format typo * long double requires %Lg * Another long double foramt specifer S.B. %Lg * issue with t128bit test * Windows issue with h5dump and type. * Fix review issues * refactor function nesting and fix error checks * format fixes * Remove untested functions and javadoc quiet comments * Restore TRY block. * Change string append errors to memory exception * revert to H5_JNI_FATAL_ERROR - support functions need work * Add assertion error for h5util functions * remove duplicate function * format fix * Revert HD function error handling * Update copyright comments * GH #386 java folder copyright corrections * Whitespace * GH #359 implement and fix tools 1.6 API usage * remove excessive comments * Flip inits to correct ifdef section * rework ifdef to be simpler * format issue * Reformat ifdef inits * remove static attribute * format compliance * Update names * Revert because logic relies on float not being int * Changes noticed from creating merge of #412 * Double underscore change * Correct compiler version variable used * Remove header guard underscores * Whitespace cleanup * Split format source and commit changes on repo push * remove pre-split setting * Change windows TS to use older VS. * correct window os name
This commit is contained in:
3
.github/workflows/clang-format-check.yml
vendored
3
.github/workflows/clang-format-check.yml
vendored
@@ -1,5 +1,6 @@
|
||||
name: clang-format Check
|
||||
on: [workflow_dispatch, push, pull_request]
|
||||
on:
|
||||
pull_request:
|
||||
jobs:
|
||||
formatting-check:
|
||||
name: Formatting Check
|
||||
|
||||
25
.github/workflows/clang-format-fix.yml
vendored
Normal file
25
.github/workflows/clang-format-fix.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
name: clang-format Check
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
jobs:
|
||||
formatting-check:
|
||||
name: Formatting Check
|
||||
runs-on: ubuntu-latest
|
||||
if: "!contains(github.event.head_commit.message, 'skip-ci')"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run clang-format style check for C programs.
|
||||
uses: DoozyX/clang-format-lint-action@v0.11
|
||||
with:
|
||||
source: '.'
|
||||
extensions: 'c,h,cpp,hpp'
|
||||
clangFormatVersion: 10
|
||||
inplace: True
|
||||
style: file
|
||||
exclude: './config ./hl/src/H5LTanalyze.c ./hl/src/H5LTparse.c ./hl/src/H5LTparse.h ./src/H5Epubgen.h ./src/H5Einit.h ./src/H5Eterm.h ./src/H5Edefin.h ./src/H5version.h ./src/H5overflow.h'
|
||||
- uses: EndBug/add-and-commit@v7
|
||||
with:
|
||||
author_name: github-actions
|
||||
author_email: 41898282+github-actions[bot]@users.noreply.github.com
|
||||
message: 'Committing clang-format changes'
|
||||
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -82,7 +82,7 @@ jobs:
|
||||
# Threadsafe runs
|
||||
- name: "Windows TS MSVC"
|
||||
artifact: "Windows-MSVCTS.tar.xz"
|
||||
os: windows-latest
|
||||
os: windows-2016
|
||||
build_type: "Release"
|
||||
toolchain: ""
|
||||
cpp: OFF
|
||||
@@ -91,7 +91,7 @@ jobs:
|
||||
ts: ON
|
||||
hl: OFF
|
||||
parallel: OFF
|
||||
generator: "-G \"Visual Studio 16 2019\" -A x64"
|
||||
generator: "-G \"Visual Studio 15 2017 Win64\""
|
||||
- name: "Ubuntu TS GCC"
|
||||
artifact: "LinuxTS.tar.xz"
|
||||
os: ubuntu-latest
|
||||
|
||||
4
.github/workflows/pr-check.yml
vendored
4
.github/workflows/pr-check.yml
vendored
@@ -77,7 +77,7 @@ jobs:
|
||||
# Threadsafe runs
|
||||
- name: "Windows TS MSVC"
|
||||
artifact: "Windows-MSVCTS.tar.xz"
|
||||
os: windows-latest
|
||||
os: windows-2016
|
||||
build_type: "Release"
|
||||
toolchain: ""
|
||||
cpp: OFF
|
||||
@@ -86,7 +86,7 @@ jobs:
|
||||
ts: ON
|
||||
hl: OFF
|
||||
parallel: OFF
|
||||
generator: "-G \"Visual Studio 16 2019\" -A x64"
|
||||
generator: "-G \"Visual Studio 15 2017 Win64\""
|
||||
- name: "Ubuntu TS GCC"
|
||||
artifact: "LinuxTS.tar.xz"
|
||||
os: ubuntu-latest
|
||||
|
||||
1
MANIFEST
1
MANIFEST
@@ -35,6 +35,7 @@
|
||||
|
||||
./.clang-format
|
||||
./.github/CODEOWNERS _DO_NOT_DISTRIBUTE_
|
||||
./.github/workflows/clang-format-fix.yml _DO_NOT_DISTRIBUTE_
|
||||
./.github/workflows/clang-format-check.yml _DO_NOT_DISTRIBUTE_
|
||||
./.github/workflows/main.yml _DO_NOT_DISTRIBUTE_
|
||||
./.github/workflows/pr-check.yml _DO_NOT_DISTRIBUTE_
|
||||
|
||||
Reference in New Issue
Block a user