Create compilation database correctly

This commit is contained in:
Patricia Aas 2021-09-10 16:50:17 +02:00
parent b8d7f005fc
commit bf0d90c76a

View file

@ -38,7 +38,8 @@ jobs:
run: sudo apt-get install clang-tidy
- 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
working-directory: ${{runner.workspace}}/build