File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,11 @@ jobs:
138138 set(HAS_LLVM OFF)
139139 endif()
140140
141+ set(CLANG_TIDY OFF)
142+ if (NOT "${{ runner.os }}" STREQUAL "Windows")
143+ set(CLANG_TIDY ON)
144+ endif()
145+
141146 if ("${{ runner.os }}" STREQUAL "Windows" AND NOT "x${{ matrix.config.environment_script }}" STREQUAL "x")
142147 execute_process(
143148 COMMAND "${{ matrix.config.environment_script }}" && set
@@ -163,6 +168,7 @@ jobs:
163168 -D CMAKE_MAKE_PROGRAM=${ninja_program}
164169 -D SUBSPACE_BUILD_CIR=${HAS_LLVM}
165170 -D SUBSPACE_BUILD_SUBDOC=${HAS_LLVM}
171+ -D SUBSPACE_BUILD_TIDY=${CLANG_TIDY}
166172 RESULT_VARIABLE result
167173 )
168174 if (NOT result EQUAL 0)
Original file line number Diff line number Diff line change @@ -138,6 +138,11 @@ jobs:
138138 set(HAS_LLVM OFF)
139139 endif()
140140
141+ set(CLANG_TIDY OFF)
142+ if (NOT "${{ runner.os }}" STREQUAL "Windows")
143+ set(CLANG_TIDY ON)
144+ endif()
145+
141146 if ("${{ runner.os }}" STREQUAL "Windows" AND NOT "x${{ matrix.config.environment_script }}" STREQUAL "x")
142147 execute_process(
143148 COMMAND "${{ matrix.config.environment_script }}" && set
@@ -162,6 +167,7 @@ jobs:
162167 -D CMAKE_MAKE_PROGRAM=${ninja_program}
163168 -D SUBSPACE_BUILD_CIR=${HAS_LLVM}
164169 -D SUBSPACE_BUILD_SUBDOC=${HAS_LLVM}
170+ -D SUBSPACE_BUILD_TIDY=${CLANG_TIDY}
165171 RESULT_VARIABLE result
166172 )
167173 if (NOT result EQUAL 0)
You can’t perform that action at this time.
0 commit comments