2023-12-13 05:48:14 -05:00
|
|
|
name: Naming
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
ncc:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Install LLVM and Clang
|
|
|
|
uses: KyleMayes/install-llvm-action@v1
|
|
|
|
with:
|
|
|
|
version: "16"
|
|
|
|
|
|
|
|
- name: Install python libraries
|
|
|
|
run: |
|
|
|
|
pip install -r tools/requirements.txt
|
|
|
|
|
|
|
|
- name: Run ncc
|
|
|
|
run: |
|
|
|
|
python3 tools/ncc/ncc.py \
|
|
|
|
--clang-lib ${{ env.LLVM_PATH }}/lib/libclang.so \
|
2024-01-08 04:58:49 -05:00
|
|
|
--recurse \
|
2023-12-13 05:48:14 -05:00
|
|
|
--style tools/ncc/ncc.style \
|
|
|
|
--skip tools/ncc/skip.yml \
|
2024-01-02 15:45:53 -05:00
|
|
|
--definition WINAPI FAR BOOL CALLBACK HWND__=HWND \
|
2024-01-08 04:58:49 -05:00
|
|
|
--include \
|
|
|
|
util \
|
|
|
|
LEGO1 \
|
|
|
|
LEGO1/omni/include \
|
|
|
|
LEGO1/lego/legoomni/include \
|
|
|
|
LEGO1/lego/sources \
|
|
|
|
--path LEGO1/omni LEGO1/lego/legoomni
|