build: tools.yml -> analyzer.yml

This commit is contained in:
Michele Caini
2025-04-01 14:30:47 +02:00
parent fbe69ae90b
commit 13f21dd942
2 changed files with 5 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
name: tools
name: analyzer
on:
push:
branches:
- tools
- analyzer
jobs:
@@ -55,7 +55,7 @@ jobs:
-DENTT_BUILD_EXAMPLE=ON \
-DENTT_BUILD_LIB=ON \
-DENTT_BUILD_SNAPSHOT=ON \
-DENTT_BUILD_TOOLS=ON \
-ENTT_BUILD_TESTBED=ON \
-DCMAKE_CXX_INCLUDE_WHAT_YOU_USE="include-what-you-use;-Xiwyu;--mapping_file=${GITHUB_WORKSPACE}/entt.imp;-Xiwyu;--no_fwd_decls;-Xiwyu;--verbose=1" \
..
make -j4
@@ -78,7 +78,7 @@ jobs:
-DENTT_BUILD_EXAMPLE=ON \
-DENTT_BUILD_LIB=ON \
-DENTT_BUILD_SNAPSHOT=ON \
-DENTT_BUILD_TOOLS=ON \
-ENTT_BUILD_TESTBED=ON \
-DENTT_USE_CLANG_TIDY=ON \
..
make -j4

View File

@@ -316,7 +316,7 @@ endif()
option(ENTT_BUILD_TESTBED "Enable building testbed." OFF)
option(ENTT_BUILD_TESTING "Enable building tests." OFF)
if(ENTT_BUILD_TESTING OR ENTT_BUILD_TESTBED)
if(ENTT_BUILD_TESTBED OR ENTT_BUILD_TESTING)
set(ENTT_ID_TYPE std::uint32_t CACHE STRING "Type of identifiers to use for tests and testbed")
set(ENTT_CXX_STD cxx_std_17 CACHE STRING "C++ standard revision to use for tests and testbed")