Skip to content

Commit

Permalink
Merge branch 'master' into fix_secure_allocator_for_old_compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
TsynkPavel authored Sep 10, 2024
2 parents 2636159 + 89e2973 commit a2df4b8
Show file tree
Hide file tree
Showing 38 changed files with 426 additions and 815 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
BasedOnStyle: LLVM
DerivePointerAlignment: false
PointerAlignment: Left

SpacesBeforeTrailingComments: 1
20 changes: 20 additions & 0 deletions .github/workflows/clang-format.yml
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/[email protected]
with:
clang-format-version: '18'
check-path: ${{ matrix.path }}
18 changes: 18 additions & 0 deletions .github/workflows/cmake.yml
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/[email protected]

65 changes: 65 additions & 0 deletions .github/workflows/meson.yml
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/[email protected]
with:
meson-version: 1.5.1
ninja-version: 1.11.1.1
action: build

- name: meson test
uses: BSFishy/[email protected]
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/[email protected]
with:
meson-version: 1.5.1
ninja-version: 1.11.1.1
setup-options: -Db_coverage=true
action: build

- name: meson test
uses: BSFishy/[email protected]
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/[email protected]
with:
coveralls-send: true
github-token: ${{ secrets.GITHUB_TOKEN }}
71 changes: 0 additions & 71 deletions .travis.yml

This file was deleted.

130 changes: 0 additions & 130 deletions .travis_scripts/cmake_builder.sh

This file was deleted.

83 changes: 0 additions & 83 deletions .travis_scripts/meson_builder.sh

This file was deleted.

Loading

0 comments on commit a2df4b8

Please sign in to comment.