cmake: fix default ninja + add clang-format target (#75) #471
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 \ | |
--style tools/ncc/ncc.style \ | |
--skip tools/ncc/skip.yml \ | |
--definition WINAPI FAR BOOL CALLBACK HWND__=HWND \ | |
--include util \ | |
--path LEGO1 |