We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7697ebd commit 74cc46dCopy full SHA for 74cc46d
.github/workflows/ci.yml
@@ -17,14 +17,22 @@ jobs:
17
- name: Set up Python
18
uses: actions/setup-python@v4
19
with:
20
- python-version: '3.11'
+ python-version: '3.12'
21
22
- name: Install build tools
23
run: |
24
sudo apt-get update
25
sudo apt-get install -y g++ python3-dev
26
pip install pybind11 pytest
27
28
+ - name: Build faiss (as submodule)
29
+ run: |
30
+ mkdir -p extern/faiss/build
31
+ cd extern/faiss/build
32
+ cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DFAISS_ENABLE_PYTHON=OFF -DFAISS_ENABLE_TESTING=OFF -DCMAKE_INSTALL_PREFIX=$(pwd)/install
33
+ make -j$(nproc)
34
+ make install
35
+
36
- name: Build pybind11 module
37
run: make
38
0 commit comments