mirror of
https://github.com/Nimac0/SDL_Minigame
synced 2026-01-12 15:53:42 +00:00
ghaction added gen of compile commands
This commit is contained in:
parent
f0c1702a2e
commit
cfaec58452
11
.github/workflows/cpp-linter.yaml
vendored
11
.github/workflows/cpp-linter.yaml
vendored
@ -12,16 +12,25 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Generate compile-commands
|
||||
uses: threeal/cmake-action@main
|
||||
with:
|
||||
build-dir: 'build'
|
||||
run-build: false
|
||||
options: 'CMAKE_EXPORT_COMPILE_COMMANDS=1'
|
||||
- uses: cpp-linter/cpp-linter-action@main
|
||||
id: linter
|
||||
continue-on-error: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
database: 'build'
|
||||
style: 'file'
|
||||
tidy-checks: ''
|
||||
files-changed-only: false
|
||||
thread-comments: false #${{ github.event_name == 'pull_request' && 'update' }}
|
||||
thread-comments: ${{ github.event_name == 'pull_request' && 'update' }}
|
||||
tidy-review: true
|
||||
format-review: true
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user