commit f78c2a3259a87f2ed1377c123bab4fbcacc2fa59
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Wed Jun 8 17:43:18 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Wed Jun 8 17:48:54 2022 +0300
Run cmake to generate compilation database
---
.github/workflows/cpp-linter.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.github/workflows/cpp-linter.yml b/.github/workflows/cpp-linter.yml
index 34f2041c..541d044f 100644
--- a/.github/workflows/cpp-linter.yml
+++ b/.github/workflows/cpp-linter.yml
@@ -12,6 +12,8 @@ jobs:
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: