File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -154,9 +154,10 @@ jobs:
154154 uses : actions/cache@v4
155155 with :
156156 path : " ~/.cache/bazel"
157- key : bazel-${{ matrix.os }}-${{ matrix.build-type }}
158- - run : bazel build -c opt //:snmalloc
159- - run : bazel build -c opt //:snmalloc-rs
157+ key : bazel-v2-${{ matrix.os }}-${{ matrix.build-type }}
158+ - run : bazel clean --expunge
159+ - run : bazel build -c opt --sandbox_debug --verbose_failures //:snmalloc 2>&1 || (cat $(bazel info output_base)/external/rules_foreign_cc*/*/build_log 2>/dev/null; false)
160+ - run : bazel build -c opt --sandbox_debug --verbose_failures //:snmalloc-rs
160161 - run : bazel test -c opt --config=asan //fuzzing:snmalloc_fuzzer
161162 if : ${{ matrix.os != 'macos-14' && matrix.os != 'macos-15' }}
162163
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ CMAKE_FLAGS = {
4040 "SNMALLOC_USE_SELF_VENDORED_STL" : "OFF" ,
4141 "SNMALLOC_IPO" : "ON" ,
4242 "USE_SNMALLOC_STATS" : "ON" ,
43+ "SNMALLOC_BUILD_TESTING" : "OFF" ,
4344} | select ({
4445 ":release_with_debug" : {"CMAKE_BUILD_TYPE" : "RelWithDebInfo" },
4546 ":release" : {"CMAKE_BUILD_TYPE" : "Release" },
You can’t perform that action at this time.
0 commit comments