ref: f78c2a3259a87f2ed1377c123bab4fbcacc2fa59
parent: 167c372cdb1b90dd0695a0f726cf599f3f582e15
author: Turo Lamminen <[email protected]>
date: Wed Jun 8 13:43:18 EDT 2022
Run cmake to generate compilation database
--- a/.github/workflows/cpp-linter.yml
+++ b/.github/workflows/cpp-linter.yml
@@ -12,6 +12,8 @@
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
+ - name: Run cmake to generate compilation database
+ run: cmake -S . -B . -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=1
- uses: cpp-linter/cpp-linter-action@v1
id: linter
env: