-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduced a way to generate tags automatically
- Loading branch information
Showing
5 changed files
with
130 additions
and
154 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,19 +14,22 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run clang-format style check for C/C++/Protobuf programs. | ||
uses: jidicula/[email protected] | ||
with: | ||
clang-format-version: '16' | ||
check-path: '.' | ||
#exclude-regex: 'sse2neon.h' | ||
- name: Install clang | ||
run: | | ||
wget https://apt.llvm.org/llvm.sh | ||
chmod +x llvm.sh | ||
sudo ./llvm.sh 17 | ||
sudo apt-get install clang-format-17 | ||
- name: "Clang-format" | ||
run:| | ||
clang-format-17 --Werror --dry-run test-boxed-cpp.cpp include/boxed-cpp/boxed.hpp | ||
|
||
editorconfig: | ||
name: "Check editorconfig" | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: editorconfig-checker/action-editorconfig-checker@main | ||
|
||
- run: editorconfig-checker | ||
|
||
ubuntu: | ||
|
@@ -68,7 +71,7 @@ jobs: | |
- name: "Cmake configure" | ||
run: | | ||
cmake -S . -B build -G Ninja \ | ||
-DBOXED_CPP_TESTS=OFF \ | ||
-DBOXED_TESTING=ON \ | ||
-DENABLE_TIDY=ON \ | ||
-DPEDANTIC_COMPILER=ON \ | ||
-DCMAKE_CXX_FLAGS="-Wno-unknown-warning-option" \ | ||
|
@@ -79,5 +82,4 @@ jobs: | |
run: cmake --build build --parallel 3 | ||
|
||
- name: "run test" | ||
if: ${{ false }} # disabled, because of Github runner image bug in compiler-vs-stdlib | ||
run: ./build/test-boxed-cpp |
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.