Skip to content

clang-format in CI

clang-format in CI #1

Workflow file for this run

name: clang-format
on:
push:
branches: [ development ]
pull_request:
branches: [ development ]
jobs:
clang-format:
runs-on: ubuntu-latest
name: Format sources
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install dependencies
run: sudo apt-get install -y clang-format
- name: Run clang-format
run: |
./run-clang-format.py -r Source Data/Base.rte/Shaders \
--exclude Source/System/Base64 \
--exclude Source/System/BitMask \
--exclude Source/System/glad \
--exclude Source/System/MicroPather \
--exclude Source/System/Semver200 \
--exclude Source/System/StackWalker