Add .clang-tidy file and CI (#3890)

The CI comments are optional
This commit is contained in:
pajlada
2022-07-31 16:16:22 +02:00
committed by GitHub
parent 3f1b16a855
commit 81773c7d30
2 changed files with 56 additions and 0 deletions
+9
View File
@@ -142,10 +142,19 @@ jobs:
-DCMAKE_BUILD_TYPE=Release \
-DPAJLADA_SETTINGS_USE_BOOST_FILESYSTEM=On \
-DUSE_PRECOMPILED_HEADERS=${{ matrix.pch }} \
-DCMAKE_EXPORT_COMPILE_COMMANDS=On \
..
make -j$(nproc)
shell: bash
- name: clang-tidy review
if: (startsWith(matrix.os, 'ubuntu') && matrix.pch == false && matrix.qt-version == '5.15.2')
uses: ZedThree/clang-tidy-review@v0.8.4
id: review
with:
build_dir: build
config_file: '.clang-tidy'
- name: Package - AppImage (Ubuntu)
if: startsWith(matrix.os, 'ubuntu')
run: |