From 16e25e2f753fbb4c42f19827eecab667616a6475 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Mar 2026 07:49:19 +0000 Subject: [PATCH 1/2] Initial plan From 848ca4329d01b59dc681d3c3208cf1074cf2f63d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Mar 2026 07:52:59 +0000 Subject: [PATCH 2/2] chore: tighten cmake github actions workflow Co-authored-by: yanyiwu <2162645+yanyiwu@users.noreply.github.com> --- .github/workflows/cmake.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 5a0d5ee..da79afe 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -26,17 +26,11 @@ jobs: steps: - uses: actions/checkout@v3 with: - submodules: true + submodules: recursive fetch-depth: 0 - - name: Update submodules - run: | - git submodule update --init --recursive --remote - cd submodules/cppjieba - git checkout master - - name: Configure CMake - run: cmake -B ${{github.workspace}}/build -DBUILD_TESTING=ON -DCMAKE_CXX_STANDARD=${{matrix.cpp_version}} -DCMAKE_BUILD_TYPE=${{matrix.build_type}} + run: cmake -B ${{github.workspace}}/build -Dsimhash_BUILD_TESTS=ON -DCMAKE_CXX_STANDARD=${{matrix.cpp_version}} -DCMAKE_BUILD_TYPE=${{matrix.build_type}} - name: Build run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} @@ -44,4 +38,3 @@ jobs: - name: Test working-directory: ${{github.workspace}}/build run: ctest -C ${{matrix.build_type}} --output-on-failure --verbose -