Skip to content

Commit 705c5d5

Browse files
authored
hotfix: ci will build tools & fix local_builder (#39)
* hotfix: ci add make_all & fix local_builder * try to fix pythonbinding error * mac ci doesn't need activation * fix linux * sync mac ci
1 parent 66f137e commit 705c5d5

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/linux_x64_docker_ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ jobs:
115115
116116
CMAKE_GENERATOR="Unix Makefiles" \
117117
CMAKE_BUILD_PARALLEL_LEVEL="$NPROC" \
118-
pip install -v .
118+
pip install -v . \
119+
--config-settings='cmake.define.BUILD_TOOLS="ON"'
119120
shell: bash
120121

121122
- name: Run Python Tests with Coverage

.github/workflows/mac_arm64_ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ jobs:
8383
8484
CMAKE_GENERATOR="Unix Makefiles" \
8585
CMAKE_BUILD_PARALLEL_LEVEL="$NPROC" \
86-
pip install -v .
86+
pip install -v . \
87+
--config-settings='cmake.define.BUILD_TOOLS="ON"'
8788
shell: bash
8889

8990
- name: Run Python Tests with Coverage
@@ -96,4 +97,4 @@ jobs:
9697
run: |
9798
cd "$CLEAN_WORKSPACE/build"
9899
make unittest -j 16
99-
shell: bash
100+
shell: bash

tools/core/local_builder.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
#include <ailego/pattern/defer.h>
1919
#include <zvec/ailego/container/params.h>
2020
#include <zvec/ailego/utility/time_helper.h>
21+
#include "algorithm/flat/flat_utility.h"
22+
#include "algorithm/hnsw/hnsw_params.h"
2123
#include "zvec/core/framework/index_dumper.h"
2224
#include "zvec/core/framework/index_factory.h"
2325
#include "zvec/core/framework/index_logger.h"

0 commit comments

Comments
 (0)