diff --git a/.gitlab/build.sh b/.gitlab/build.sh index d88772e60..4f77521ab 100755 --- a/.gitlab/build.sh +++ b/.gitlab/build.sh @@ -208,6 +208,18 @@ rm "libfabric-${LIBFABRIC_VERSION#v}.tar.bz2" $SUDO ldconfig ) +( \ + cd /tmp && \ + git clone --depth 1 https://github.com/kvcache-ai/Mooncake.git && \ + cd Mooncake && \ + $SUDO bash dependencies.sh && \ + mkdir build && cd build && \ + cmake .. -DBUILD_SHARED_LIBS=ON && \ + make -j"$NPROC" && \ + $SUDO make install && \ + $SUDO ldconfig +) + ( \ cd /tmp && git clone --depth 1 https://github.com/google/gtest-parallel.git && diff --git a/.gitlab/test_cpp.sh b/.gitlab/test_cpp.sh index b5984edae..e1d6899ed 100755 --- a/.gitlab/test_cpp.sh +++ b/.gitlab/test_cpp.sh @@ -82,6 +82,7 @@ kill -s INT $telePID ./bin/nixl_gusli_test -n 4 -s 16 ./bin/ucx_backend_multi ./bin/serdes_test +./bin/mooncake_backend_test # shellcheck disable=SC2154 gtest-parallel --workers=1 --serialize_test_cases ./bin/gtest -- --min-tcp-port="$min_gtest_port" --max-tcp-port="$max_gtest_port"