File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,10 @@ jobs:
5252 run : cmake --build build --target black-format-check
5353
5454 - name : Run check-license
55- run : |
56- bash ./check_license/check-headers.sh ./ "Apache-2.0 WITH LLVM-exception" -v
55+ run : cmake --build build --target check-license
5756
5857 - name : Run copyright-format
59- run : |
60- bash ./check_license/check-headers.sh ./ "Apache-2.0 WITH LLVM-exception" -d
58+ run : cmake --build build --target copyright-format
6159
6260 - name : Run a spell check
6361 uses : crate-ci/typos@b63f421581dce830bda2f597a678cb7776b41877 # v1.18.2
Original file line number Diff line number Diff line change @@ -175,6 +175,15 @@ else()
175175 add_custom_target (jemalloc_prod
176176 DEPENDS ${jemalloc_targ_BINARY_DIR} /lib/libjemalloc.a)
177177
178+ add_custom_target (
179+ check-license
180+ COMMAND ${UMF_CMAKE_SOURCE_DIR} /check_license/check-headers.sh
181+ ${UMF_CMAKE_SOURCE_DIR} Apache-2.0 WITH LLVM-exception -v)
182+ add_custom_target (
183+ copyright-format
184+ COMMAND ${UMF_CMAKE_SOURCE_DIR} /check_license/check-headers.sh
185+ ${UMF_CMAKE_SOURCE_DIR} Apache-2.0 WITH LLVM-exception -d)
186+
178187 add_library (jemalloc INTERFACE )
179188 target_link_libraries (
180189 jemalloc INTERFACE ${jemalloc_targ_BINARY_DIR} /lib/libjemalloc.a)
You can’t perform that action at this time.
0 commit comments