mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-23 07:27:05 +00:00
CI: apply clang-format also to tests and utils folders
This commit is contained in:
parent
c93f07176a
commit
fb13f33f65
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
@ -113,13 +113,22 @@ jobs:
|
|||||||
|
|
||||||
clang-format:
|
clang-format:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
path:
|
||||||
|
- check: 'src'
|
||||||
|
exclude: ''
|
||||||
|
- check: 'tests'
|
||||||
|
exclude: ''
|
||||||
|
- check: 'utils'
|
||||||
|
exclude: '(matlab|scripts|python)'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: run clang-format
|
- name: run clang-format
|
||||||
uses: jidicula/clang-format-action@v4.11.0
|
uses: jidicula/clang-format-action@v4
|
||||||
with:
|
with:
|
||||||
clang-format-version: "15"
|
clang-format-version: "15"
|
||||||
check-path: "src"
|
check-path: ${{ matrix.path }}
|
||||||
exclude-regex: '(libs\/gsl\/)|^.*\.(cu|proto)$'
|
exclude-regex: '(libs\/gsl\/)|^.*\.(cu|proto)$'
|
||||||
|
|
||||||
clang-tidy:
|
clang-tidy:
|
||||||
|
Loading…
Reference in New Issue
Block a user