mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-07-25 05:12:55 +00:00
Format .proto files with clang-format 19, add check to CI
This commit is contained in:
parent
6685f4ca70
commit
2fa9166873
@ -286,4 +286,8 @@ WhitespaceSensitiveMacros:
|
||||
- NS_SWIFT_NAME
|
||||
- PP_STRINGIZE
|
||||
- STRINGIZE
|
||||
---
|
||||
Language: Proto
|
||||
BasedOnStyle: Google
|
||||
ColumnLimit: 0
|
||||
...
|
||||
|
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user