From 5ac56d6fec48796e4b450c5c7c4362d7b3fb9dbb Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Fri, 17 May 2024 11:52:42 +0200 Subject: [PATCH] workflow: refine tools --- .github/workflows/tools.yml | 4 ++-- CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tools.yml b/.github/workflows/tools.yml index ed9797a51..3d80ca10f 100644 --- a/.github/workflows/tools.yml +++ b/.github/workflows/tools.yml @@ -1,4 +1,4 @@ -name: analyzer +name: tools on: push: @@ -59,7 +59,7 @@ jobs: .. make -j4 - clang_tidy: + clang-tidy: timeout-minutes: 30 runs-on: ubuntu-latest diff --git a/CMakeLists.txt b/CMakeLists.txt index 6695b76cd..fd1627b24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -213,7 +213,7 @@ if(ENTT_HAS_SANITIZER) endif() if(ENTT_CLANG_TIDY_EXECUTABLE) - set(CMAKE_CXX_CLANG_TIDY "${ENTT_CLANG_TIDY_EXECUTABLE};--config-file=${EnTT_SOURCE_DIR}/.clang-tidy;--header-filter=${EnTT_SOURCE_DIR}/src/entt/.*;--extra-arg=/EHsc") + set(CMAKE_CXX_CLANG_TIDY "${ENTT_CLANG_TIDY_EXECUTABLE};--config-file=${EnTT_SOURCE_DIR}/.clang-tidy;--header-filter=${EnTT_SOURCE_DIR}/src/entt/.*") endif() if(ENTT_HAS_LIBCPP)