Files
WiVRn/.github/workflows/Format.yml
T
Jonathan Steffan 8ef136ed5c Add New APK Only Pipeline
- Automatically sync downstream if build succeeds on a commit to master
- Downstream build APK only and publish as a release
- Use deterministic name for programmatic access
2024-08-18 23:52:21 +02:00

22 lines
529 B
YAML

name: Format
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting check
runs-on: ubuntu-latest
if: ${{ vars.APK_ONLY == '' }}
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/[email protected]
with:
clang-format-version: '17'
check-path: ${{ matrix.path }}