-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
167 changed files
with
3,036 additions
and
2,366 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,8 @@ on: | |
- Makefile | ||
workflow_dispatch: | ||
|
||
|
||
|
||
jobs: | ||
coverage: | ||
timeout-minutes: 10 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: Format_Check | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
- main | ||
paths: | ||
- .github/workflows/format_check.yml | ||
- include/** | ||
- scripts/** | ||
- single_include/** | ||
- test/** | ||
- tool/amalgamation/** | ||
- CMakeLists.txt | ||
- .clang-format | ||
pull_request: | ||
paths: | ||
- .github/workflows/format_check.yml | ||
- include/** | ||
- scripts/** | ||
- single_include/** | ||
- test/** | ||
- tool/amalgamation/** | ||
- CMakeLists.txt | ||
- .clang-format | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{github.workflow}}-${{github.ref}} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
format-check: | ||
timeout-minutes: 10 | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{github.head_ref}} | ||
token: ${{secrets.FKYAML_FORMAT_CHECK_PAT}} | ||
submodules: recursive | ||
|
||
- name: Run clang-format style check | ||
run: ${{github.workspace}}/scripts/run_clang_format.sh | ||
|
||
- name: Run amalgamation check | ||
run: ${{github.workspace}}/scripts/run_amalgamation.sh | ||
|
||
- name: Detect diffs caused by formatting scripts | ||
id: format_diff | ||
run: git diff --name-only --exit-code | ||
|
||
- name: Commit and push the diffs | ||
if: failure() && steps.format_diff.outcome == 'failure' | ||
run: | | ||
set -x | ||
git config user.name github-actions[bot] | ||
git config user.email 41898282+github-actions[bot]@users.noreply.github.com | ||
git add . | ||
git commit --author="$(git log --pretty=format:"%an <%ae>")" -m "[bot] run clang-format & amalgamation" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// _______ __ __ __ _____ __ __ __ | ||
// | __| |_/ | \_/ |/ _ \ / \/ \| | fkYAML: A C++ header-only YAML library (supporting code) | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.6 | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.7 | ||
// |__| |_| \__| |_| |_| |_|___||___|______| https://github.com/fktn-k/fkYAML | ||
// | ||
// SPDX-FileCopyrightText: 2023-2024 Kensuke Fukutani <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// _______ __ __ __ _____ __ __ __ | ||
// | __| |_/ | \_/ |/ _ \ / \/ \| | fkYAML: A C++ header-only YAML library (supporting code) | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.6 | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.7 | ||
// |__| |_| \__| |_| |_| |_|___||___|______| https://github.com/fktn-k/fkYAML | ||
// | ||
// SPDX-FileCopyrightText: 2023-2024 Kensuke Fukutani <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// _______ __ __ __ _____ __ __ __ | ||
// | __| |_/ | \_/ |/ _ \ / \/ \| | fkYAML: A C++ header-only YAML library (supporting code) | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.6 | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.7 | ||
// |__| |_| \__| |_| |_| |_|___||___|______| https://github.com/fktn-k/fkYAML | ||
// | ||
// SPDX-FileCopyrightText: 2023-2024 Kensuke Fukutani <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// _______ __ __ __ _____ __ __ __ | ||
// | __| |_/ | \_/ |/ _ \ / \/ \| | fkYAML: A C++ header-only YAML library (supporting code) | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.6 | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.7 | ||
// |__| |_| \__| |_| |_| |_|___||___|______| https://github.com/fktn-k/fkYAML | ||
// | ||
// SPDX-FileCopyrightText: 2023-2024 Kensuke Fukutani <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// _______ __ __ __ _____ __ __ __ | ||
// | __| |_/ | \_/ |/ _ \ / \/ \| | fkYAML: A C++ header-only YAML library (supporting code) | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.6 | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.7 | ||
// |__| |_| \__| |_| |_| |_|___||___|______| https://github.com/fktn-k/fkYAML | ||
// | ||
// SPDX-FileCopyrightText: 2023-2024 Kensuke Fukutani <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// _______ __ __ __ _____ __ __ __ | ||
// | __| |_/ | \_/ |/ _ \ / \/ \| | fkYAML: A C++ header-only YAML library (supporting code) | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.6 | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.7 | ||
// |__| |_| \__| |_| |_| |_|___||___|______| https://github.com/fktn-k/fkYAML | ||
// | ||
// SPDX-FileCopyrightText: 2023-2024 Kensuke Fukutani <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// _______ __ __ __ _____ __ __ __ | ||
// | __| |_/ | \_/ |/ _ \ / \/ \| | fkYAML: A C++ header-only YAML library (supporting code) | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.6 | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.7 | ||
// |__| |_| \__| |_| |_| |_|___||___|______| https://github.com/fktn-k/fkYAML | ||
// | ||
// SPDX-FileCopyrightText: 2023-2024 Kensuke Fukutani <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// _______ __ __ __ _____ __ __ __ | ||
// | __| |_/ | \_/ |/ _ \ / \/ \| | fkYAML: A C++ header-only YAML library (supporting code) | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.6 | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.7 | ||
// |__| |_| \__| |_| |_| |_|___||___|______| https://github.com/fktn-k/fkYAML | ||
// | ||
// SPDX-FileCopyrightText: 2023-2024 Kensuke Fukutani <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// _______ __ __ __ _____ __ __ __ | ||
// | __| |_/ | \_/ |/ _ \ / \/ \| | fkYAML: A C++ header-only YAML library (supporting code) | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.6 | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.7 | ||
// |__| |_| \__| |_| |_| |_|___||___|______| https://github.com/fktn-k/fkYAML | ||
// | ||
// SPDX-FileCopyrightText: 2023-2024 Kensuke Fukutani <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// _______ __ __ __ _____ __ __ __ | ||
// | __| |_/ | \_/ |/ _ \ / \/ \| | fkYAML: A C++ header-only YAML library (supporting code) | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.6 | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.7 | ||
// |__| |_| \__| |_| |_| |_|___||___|______| https://github.com/fktn-k/fkYAML | ||
// | ||
// SPDX-FileCopyrightText: 2023-2024 Kensuke Fukutani <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// _______ __ __ __ _____ __ __ __ | ||
// | __| |_/ | \_/ |/ _ \ / \/ \| | fkYAML: A C++ header-only YAML library (supporting code) | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.6 | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.7 | ||
// |__| |_| \__| |_| |_| |_|___||___|______| https://github.com/fktn-k/fkYAML | ||
// | ||
// SPDX-FileCopyrightText: 2023-2024 Kensuke Fukutani <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// _______ __ __ __ _____ __ __ __ | ||
// | __| |_/ | \_/ |/ _ \ / \/ \| | fkYAML: A C++ header-only YAML library (supporting code) | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.6 | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.7 | ||
// |__| |_| \__| |_| |_| |_|___||___|______| https://github.com/fktn-k/fkYAML | ||
// | ||
// SPDX-FileCopyrightText: 2023-2024 Kensuke Fukutani <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// _______ __ __ __ _____ __ __ __ | ||
// | __| |_/ | \_/ |/ _ \ / \/ \| | fkYAML: A C++ header-only YAML library (supporting code) | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.6 | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.7 | ||
// |__| |_| \__| |_| |_| |_|___||___|______| https://github.com/fktn-k/fkYAML | ||
// | ||
// SPDX-FileCopyrightText: 2023-2024 Kensuke Fukutani <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// _______ __ __ __ _____ __ __ __ | ||
// | __| |_/ | \_/ |/ _ \ / \/ \| | fkYAML: A C++ header-only YAML library (supporting code) | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.6 | ||
// | __| _ < \_ _/| ___ | _ | |___ version 0.3.7 | ||
// |__| |_| \__| |_| |_| |_|___||___|______| https://github.com/fktn-k/fkYAML | ||
// | ||
// SPDX-FileCopyrightText: 2023-2024 Kensuke Fukutani <[email protected]> | ||
|
Oops, something went wrong.