-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
YT-CPPAP-1: Repository cleanup and preparation for version 1.1
- Reorganized the project folder structure to use more descriptive names - Improved formatting scripts to enumerate the formatted files and run clang-format check with the `--check` flag - Modified the `install_clang_format_17.sh` script to install both `clang-17` and `clang-format-17` toolchains - Added a format checking workflow - Modified the `g++` and `clang++` workflows to properly set both C and C++ comilers with CMake - Added the change log
- Loading branch information
1 parent
9a9e536
commit 24137db
Showing
31 changed files
with
699 additions
and
1,040 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: format | ||
on: | ||
push: | ||
branches: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
name: Test code formatting | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Prepare | ||
shell: bash | ||
run: | | ||
sudo bash ./scripts/env/install_clang17_toolchain.sh | ||
continue-on-error: false | ||
|
||
- name: Test formatting | ||
shell: bash | ||
run: | | ||
bash ./scripts/format/unix.sh --check |
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
Oops, something went wrong.