Add clang-format check in CI
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
name: Format
|
||||||
|
on: [push, pull_request]
|
||||||
|
jobs:
|
||||||
|
formatting-check:
|
||||||
|
name: Formatting check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
path:
|
||||||
|
- 'client'
|
||||||
|
- 'server'
|
||||||
|
- 'common'
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Run clang-format style check for C/C++/Protobuf programs.
|
||||||
|
uses: jidicula/clang-format-action@v4.11.0
|
||||||
|
with:
|
||||||
|
clang-format-version: '17'
|
||||||
|
check-path: ${{ matrix.path }}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
# WiVRn
|
# WiVRn
|
||||||
|
|
||||||
[](https://www.gnu.org/licenses/gpl-3.0) 
|
[](https://www.gnu.org/licenses/gpl-3.0)  
|
||||||
|
|
||||||
OpenXR streaming application
|
OpenXR streaming application
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user