mirror of
https://github.com/n64decomp/mk64
synced 2026-06-04 18:29:04 -04:00
17a6f4bb3d
* update clang and add action * try clang on course folder only * forget two file * Update course_displaylists.inc.c * forget few other file * Update course_vertices.inc.c * format all code while get it match * second pass * format other dir * disable clang format on bad ido code * fix some tabulation * revert format on tool dir * Update clang-format.yml * ignore gbi.h * add some read me instruction * fix error * format and fixing error * Update README.md --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
22 lines
538 B
YAML
22 lines
538 B
YAML
name: clang-format Check
|
|
on: [push, pull_request]
|
|
jobs:
|
|
formatting-check:
|
|
name: Formatting Check
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
path:
|
|
- include
|
|
- data
|
|
- courses
|
|
- src
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Run clang-format style check for C/C++/Protobuf programs.
|
|
uses: jidicula/clang-format-action@v4.13.0
|
|
with:
|
|
clang-format-version: "18"
|
|
check-path: ${{ matrix.path }}
|
|
exclude-regex: "gbi.h"
|