1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-07-25 21:32:56 +00:00

Format .proto files with clang-format 19, add check to CI

This commit is contained in:
Carles Fernandez 2025-04-08 09:02:56 +02:00
parent 6685f4ca70
commit 2fa9166873
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
9 changed files with 62 additions and 56 deletions

View File

@ -286,4 +286,8 @@ WhitespaceSensitiveMacros:
- NS_SWIFT_NAME
- PP_STRINGIZE
- STRINGIZE
---
Language: Proto
BasedOnStyle: Google
ColumnLimit: 0
...

View File

@ -119,6 +119,7 @@ jobs:
- 'src'
- 'tests'
- 'utils'
- 'docs'
steps:
- uses: actions/checkout@v4
- name: run clang-format
@ -126,7 +127,7 @@ jobs:
with:
clang-format-version: "19"
check-path: ${{ matrix.path }}
exclude-regex: '(libs\/gsl\/)|(tmpl)|(cpu_features)|^.*\.(cu|proto)$'
exclude-regex: '(libs\/gsl\/)|(tmpl)|(cpu_features)|^.*\.(cu)$'
clang-tidy:
runs-on: macos-latest

View File

@ -19,6 +19,7 @@ All notable changes to GNSS-SDR will be documented in this file.
- Added a CI job to detect lines longer than 512 characters (avoid this
[lintian tag](https://lintian.debian.org/tags/very-long-line-length-in-source-file.html)
warning).
- Added formatting of `.proto` files with clang-format. Added check in CI job.
## [GNSS-SDR v0.0.20](https://github.com/gnss-sdr/gnss-sdr/releases/tag/v0.0.20) - 2025-04-01