Skip to content

Commit 80f36ca

Browse files
authored
Merge branch 'master' into patch-1
2 parents bd76025 + f459022 commit 80f36ca

37 files changed

+334
-805
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
BasedOnStyle: LLVM
22
DerivePointerAlignment: false
33
PointerAlignment: Left
4-
4+
SpacesBeforeTrailingComments: 1

.github/workflows/clang-format.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: clang-format check
2+
on: [check_run, pull_request, push]
3+
4+
jobs:
5+
formatting-check:
6+
name: formatting check
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
path:
11+
- 'src'
12+
- 'examples'
13+
- 'include'
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: runs clang-format style check for C/C++/Protobuf programs.
17+
uses: jidicula/[email protected]
18+
with:
19+
clang-format-version: '18'
20+
check-path: ${{ matrix.path }}

.github/workflows/cmake.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: cmake
2+
on: [check_run, push, pull_request]
3+
jobs:
4+
cmake-publish:
5+
runs-on: ${{ matrix.os }}
6+
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
os: [ubuntu-latest, windows-latest, macos-latest]
11+
12+
steps:
13+
- name: checkout project
14+
uses: actions/checkout@v4
15+
16+
- name: build project
17+
uses: threeal/[email protected]
18+

.github/workflows/meson.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: meson build and test
2+
run-name: update pushed to ${{ github.ref }}
3+
on: [check_run, push, pull_request]
4+
5+
jobs:
6+
meson-publish:
7+
runs-on: ${{ matrix.os }}
8+
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
os: [ubuntu-latest, windows-latest, macos-latest]
13+
14+
steps:
15+
- name: checkout repository
16+
uses: actions/checkout@v4
17+
18+
- name: setup python
19+
uses: actions/setup-python@v5
20+
21+
- name: meson build
22+
uses: BSFishy/[email protected]
23+
with:
24+
meson-version: 1.5.1
25+
ninja-version: 1.11.1.1
26+
action: build
27+
28+
- name: meson test
29+
uses: BSFishy/[email protected]
30+
with:
31+
meson-version: 1.5.1
32+
ninja-version: 1.11.1.1
33+
action: test
34+
35+
meson-coverage:
36+
runs-on: ubuntu-latest
37+
38+
steps:
39+
- name: checkout repository
40+
uses: actions/checkout@v4
41+
42+
- name: setup python
43+
uses: actions/setup-python@v5
44+
45+
- name: meson build
46+
uses: BSFishy/[email protected]
47+
with:
48+
meson-version: 1.5.1
49+
ninja-version: 1.11.1.1
50+
setup-options: -Db_coverage=true
51+
action: build
52+
53+
- name: meson test
54+
uses: BSFishy/[email protected]
55+
with:
56+
meson-version: 1.5.1
57+
ninja-version: 1.11.1.1
58+
setup-options: -Db_coverage=true
59+
action: test
60+
61+
- name: generate code coverage report
62+
uses: threeal/[email protected]
63+
with:
64+
coveralls-send: true
65+
github-token: ${{ secrets.GITHUB_TOKEN }}

.travis.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.

.travis_scripts/cmake_builder.sh

Lines changed: 0 additions & 130 deletions
This file was deleted.

.travis_scripts/meson_builder.sh

Lines changed: 0 additions & 83 deletions
This file was deleted.

0 commit comments

Comments
 (0)