attempt to dynamically build headers ignore list in ncc

This commit is contained in:
Ramen2X 2024-03-10 11:20:32 -04:00
parent b57d640f25
commit 8f5725344d

View File

@ -21,6 +21,9 @@ jobs:
- name: Run ncc
run: |
action_headers=$(find LEGO1/lego/legoomni/include -name '*.h' \
-print0 | xargs -0 echo)
python3 tools/ncc/ncc.py \
--clang-lib ${{ env.LLVM_PATH }}/lib/libclang.so \
--recurse \
@ -36,4 +39,5 @@ jobs:
--exclude \
LEGO1/omni/include/flic.h \
LEGO1/omni/src/video/flic.cpp \
$action_headers \
--path LEGO1/omni LEGO1/lego/legoomni