mirror of
https://github.com/Nimac0/SDL_Minigame
synced 2026-01-12 23:33:41 +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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- 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
|
- uses: cpp-linter/cpp-linter-action@main
|
||||||
id: linter
|
id: linter
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
database: 'build'
|
||||||
style: 'file'
|
style: 'file'
|
||||||
tidy-checks: ''
|
tidy-checks: ''
|
||||||
files-changed-only: false
|
files-changed-only: false
|
||||||
thread-comments: false #${{ github.event_name == 'pull_request' && 'update' }}
|
thread-comments: ${{ github.event_name == 'pull_request' && 'update' }}
|
||||||
tidy-review: true
|
tidy-review: true
|
||||||
format-review: true
|
format-review: true
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user