File tree Expand file tree Collapse file tree 3 files changed +440
-0
lines changed Expand file tree Collapse file tree 3 files changed +440
-0
lines changed Original file line number Diff line number Diff line change 23
23
msbuild :
24
24
uses : ./.github/workflows/msbuild.yml
25
25
26
+ format :
27
+ uses : ./.github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
1
+ name : clang-format
2
+
3
+ on :
4
+ push :
5
+ branches : [ development ]
6
+ pull_request :
7
+ branches : [ development ]
8
+
9
+ jobs :
10
+ clang-format :
11
+ runs-on : ubuntu-latest
12
+ name : Format sources
13
+
14
+ steps :
15
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
16
+ - uses : actions/checkout@v3
17
+ - uses : actions/setup-python@v3
18
+
19
+ - name : Install dependencies
20
+ run : sudo apt-get install -y clang-format
21
+
22
+ - name : Run clang-format
23
+ run : |
24
+ ./run-clang-format.py -r Source Data/Base.rte/Shaders \
25
+ --exclude Source/System/Base64 \
26
+ --exclude Source/System/BitMask \
27
+ --exclude Source/System/glad \
28
+ --exclude Source/System/MicroPather \
29
+ --exclude Source/System/Semver200 \
30
+ --exclude Source/System/StackWalker
You can’t perform that action at this time.
0 commit comments