-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into multiincludefix
- Loading branch information
Showing
36 changed files
with
325 additions
and
795 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
BasedOnStyle: LLVM | ||
DerivePointerAlignment: false | ||
PointerAlignment: Left | ||
|
||
SpacesBeforeTrailingComments: 1 |
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,20 @@ | ||
name: clang-format check | ||
on: [check_run, pull_request, push] | ||
|
||
jobs: | ||
formatting-check: | ||
name: formatting check | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
path: | ||
- 'src' | ||
- 'examples' | ||
- 'include' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: runs clang-format style check for C/C++/Protobuf programs. | ||
uses: jidicula/clang-format-action@v4.13.0 | ||
with: | ||
clang-format-version: '18' | ||
check-path: ${{ matrix.path }} |
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,18 @@ | ||
name: cmake | ||
on: [check_run, push, pull_request] | ||
jobs: | ||
cmake-publish: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
|
||
steps: | ||
- name: checkout project | ||
uses: actions/checkout@v4 | ||
|
||
- name: build project | ||
uses: threeal/cmake-action@v2.0.0 | ||
|
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: meson build and test | ||
run-name: update pushed to ${{ github.ref }} | ||
on: [check_run, push, pull_request] | ||
|
||
jobs: | ||
meson-publish: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
|
||
steps: | ||
- name: checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: setup python | ||
uses: actions/setup-python@v5 | ||
|
||
- name: meson build | ||
uses: BSFishy/meson-build@v1.0.3 | ||
with: | ||
meson-version: 1.5.1 | ||
ninja-version: 1.11.1.1 | ||
action: build | ||
|
||
- name: meson test | ||
uses: BSFishy/meson-build@v1.0.3 | ||
with: | ||
meson-version: 1.5.1 | ||
ninja-version: 1.11.1.1 | ||
action: test | ||
|
||
meson-coverage: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: setup python | ||
uses: actions/setup-python@v5 | ||
|
||
- name: meson build | ||
uses: BSFishy/meson-build@v1.0.3 | ||
with: | ||
meson-version: 1.5.1 | ||
ninja-version: 1.11.1.1 | ||
setup-options: -Db_coverage=true | ||
action: build | ||
|
||
- name: meson test | ||
uses: BSFishy/meson-build@v1.0.3 | ||
with: | ||
meson-version: 1.5.1 | ||
ninja-version: 1.11.1.1 | ||
setup-options: -Db_coverage=true | ||
action: test | ||
|
||
- name: generate code coverage report | ||
uses: threeal/gcovr-action@v1.0.0 | ||
with: | ||
coveralls-send: true | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.