Include Tests and Benchmarks in clang-tidy CI (#4653)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -281,7 +281,7 @@ jobs:
|
|||||||
build_dir: build-clang-tidy
|
build_dir: build-clang-tidy
|
||||||
config_file: ".clang-tidy"
|
config_file: ".clang-tidy"
|
||||||
split_workflow: true
|
split_workflow: true
|
||||||
exclude: "tests/*,lib/*"
|
exclude: "lib/*"
|
||||||
cmake_command: >-
|
cmake_command: >-
|
||||||
cmake -S. -Bbuild-clang-tidy
|
cmake -S. -Bbuild-clang-tidy
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
@@ -291,12 +291,15 @@ jobs:
|
|||||||
-DCHATTERINO_LTO=Off
|
-DCHATTERINO_LTO=Off
|
||||||
-DCHATTERINO_PLUGINS=On
|
-DCHATTERINO_PLUGINS=On
|
||||||
-DBUILD_WITH_QT6=Off
|
-DBUILD_WITH_QT6=Off
|
||||||
|
-DBUILD_TESTS=On
|
||||||
|
-DBUILD_BENCHMARKS=On
|
||||||
apt_packages: >-
|
apt_packages: >-
|
||||||
qttools5-dev, qt5-image-formats-plugins, libqt5svg5-dev,
|
qttools5-dev, qt5-image-formats-plugins, libqt5svg5-dev,
|
||||||
libsecret-1-dev,
|
libsecret-1-dev,
|
||||||
libboost-dev, libboost-system-dev, libboost-filesystem-dev,
|
libboost-dev, libboost-system-dev, libboost-filesystem-dev,
|
||||||
libssl-dev,
|
libssl-dev,
|
||||||
rapidjson-dev
|
rapidjson-dev,
|
||||||
|
libbenchmark-dev
|
||||||
|
|
||||||
- name: clang-tidy-review upload
|
- name: clang-tidy-review upload
|
||||||
if: matrix.clang-tidy-review && github.event_name == 'pull_request'
|
if: matrix.clang-tidy-review && github.event_name == 'pull_request'
|
||||||
|
|||||||
Reference in New Issue
Block a user