Quellcode durchsuchen

build: tools.yml -> analyzer.yml

Michele Caini vor 11 Monaten
Ursprung
Commit
13f21dd942
2 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen
  1. 4 4
      .github/workflows/analyzer.yml
  2. 1 1
      CMakeLists.txt

+ 4 - 4
.github/workflows/tools.yml → .github/workflows/analyzer.yml

@@ -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

+ 1 - 1
CMakeLists.txt

@@ -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")