Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Checks:
modernize-*,
performance-*,
portability-*,
readability-*

HeaderFilterRegex: 'src'
FormatStyle: file

readability-*,
-readability-function-cognitive-complexity,
-bugprone-suspicious-stringview-data-usage
WarningsAsErrors: ''
HeaderFilterRegex: ''
CheckOptions:
- key: readability-identifier-naming.StaticVariableCase
value: lower_case
Expand Down Expand Up @@ -52,9 +52,9 @@ CheckOptions:
- key: readability-identifier-naming.PrivateMethodCase
value: lower_case
- key: readability-identifier-naming.PublicMethodCase
value: camelCase
value: camelBack
- key: readability-identifier-naming.ProtectedMethodCase
value: camelCase
value: camelBack

- key: readability-identifier-naming.ConstexprVariableCase
value: UPPER_CASE
Expand All @@ -66,3 +66,4 @@ CheckOptions:

- key: readability-identifier-naming.NamespaceCase
value: CamelCase
...
14 changes: 0 additions & 14 deletions .github/workflows/check-code-formatting.yml

This file was deleted.

52 changes: 0 additions & 52 deletions .github/workflows/code-format.yml

This file was deleted.

5 changes: 2 additions & 3 deletions .github/workflows/conf-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
push:
tags:
- 'v*'
pull_request:
branches: [main, develop]
# pull_request:
# branches: [main, develop]

jobs:
build_test_package:
Expand Down Expand Up @@ -128,4 +128,3 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

38 changes: 38 additions & 0 deletions .github/workflows/cpp-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: cpp-linter

on: [pull_request]

jobs:
cpp-linter:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-python@v6
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake ninja-build doxygen clang-tidy libglib2.0-dev

- name: Configure, build and test
run: cmake --workflow --preset default-develop

- uses: cpp-linter/cpp-linter-action@v2
id: linter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
database: 'build/default-develop'
style: 'file'
tidy-checks: ''
files-changed-only: "true"
thread-comments: ${{ github.event_name == 'pull_request' }}
file-annotations: "true"
version: 20

- if: steps.linter.outputs.checks-failed > 0
run: exit 1
55 changes: 0 additions & 55 deletions .github/workflows/lint.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: build-and-checks

on: [pull_request]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v6
- uses: pre-commit/action@v3.0.1
with:
extra_args: --all-files --show-diff-on-failure
35 changes: 0 additions & 35 deletions .github/workflows/recreate-develop.yml

This file was deleted.

Loading
Loading