Create compilation database correctly

This commit is contained in:
Patricia Aas 2021-09-10 16:50:17 +02:00
parent b8d7f005fc
commit bf0d90c76a
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,8 @@ jobs:
run: sudo apt-get install clang-tidy run: sudo apt-get install clang-tidy
- name: Configure CMake - name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON working-directory: ${{runner.workspace}}/build
run: cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
- name: Run clang-tidy - name: Run clang-tidy
working-directory: ${{runner.workspace}}/build working-directory: ${{runner.workspace}}/build