Skip to content

Commit

Permalink
github: try to fix file list
Browse files Browse the repository at this point in the history
Signed-off-by: Jared Van Bortel <[email protected]>
  • Loading branch information
cebtenzzre committed Oct 21, 2024
1 parent 0e794a0 commit 510b7f3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,27 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install qt6-base-private-dev qt6-declarative-dev qt6-httpserver-dev qt6-pdf-dev qt6-svg-dev qt6-tools-dev qt6-websockets-dev
sudo apt-get install libopengl-dev qt6-base-private-dev qt6-declarative-dev qt6-httpserver-dev qt6-pdf-dev qt6-svg-dev qt6-tools-dev qt6-websockets-dev
- name: Configure
run: |
cmake -S gpt4all-chat -B gpt4all-chat/build \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DLLMODEL_CUDA=OFF \
-DLLMODEL_KOMPUTE=OFF
- name: Path glob
id: glob
run: |
{
echo 'GPT4ALL_PATHS<<EOF'
find gpt4all-backend/src gpt4all-chat/src -name '*.cpp'
echo EOF
} >>"$GITHUB_OUTPUT"
- name: Clazy
uses: MinyazevR/[email protected]
with:
checks: "level0,no-container-anti-pattern,no-qstring-arg,no-qstring-ref,no-strict-iterators,no-unused-non-trivial-variable"
install-stable: true
database: gpt4all-chat/build
extensions: ""
extra-arg: ${{ steps.glob.outputs.GPT4ALL_PATHS }}

0 comments on commit 510b7f3

Please sign in to comment.