File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,11 @@ jobs:
138
138
set(HAS_LLVM OFF)
139
139
endif()
140
140
141
+ set(CLANG_TIDY OFF)
142
+ if (NOT "${{ runner.os }}" STREQUAL "Windows")
143
+ set(CLANG_TIDY ON)
144
+ endif()
145
+
141
146
if ("${{ runner.os }}" STREQUAL "Windows" AND NOT "x${{ matrix.config.environment_script }}" STREQUAL "x")
142
147
execute_process(
143
148
COMMAND "${{ matrix.config.environment_script }}" && set
@@ -163,6 +168,7 @@ jobs:
163
168
-D CMAKE_MAKE_PROGRAM=${ninja_program}
164
169
-D SUBSPACE_BUILD_CIR=${HAS_LLVM}
165
170
-D SUBSPACE_BUILD_SUBDOC=${HAS_LLVM}
171
+ -D SUBSPACE_BUILD_TIDY=${CLANG_TIDY}
166
172
RESULT_VARIABLE result
167
173
)
168
174
if (NOT result EQUAL 0)
Original file line number Diff line number Diff line change @@ -138,6 +138,11 @@ jobs:
138
138
set(HAS_LLVM OFF)
139
139
endif()
140
140
141
+ set(CLANG_TIDY OFF)
142
+ if (NOT "${{ runner.os }}" STREQUAL "Windows")
143
+ set(CLANG_TIDY ON)
144
+ endif()
145
+
141
146
if ("${{ runner.os }}" STREQUAL "Windows" AND NOT "x${{ matrix.config.environment_script }}" STREQUAL "x")
142
147
execute_process(
143
148
COMMAND "${{ matrix.config.environment_script }}" && set
@@ -162,6 +167,7 @@ jobs:
162
167
-D CMAKE_MAKE_PROGRAM=${ninja_program}
163
168
-D SUBSPACE_BUILD_CIR=${HAS_LLVM}
164
169
-D SUBSPACE_BUILD_SUBDOC=${HAS_LLVM}
170
+ -D SUBSPACE_BUILD_TIDY=${CLANG_TIDY}
165
171
RESULT_VARIABLE result
166
172
)
167
173
if (NOT result EQUAL 0)
You can’t perform that action at this time.
0 commit comments