Compare commits
1 Commits
fix/ask-cl
...
fix-arch-c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b465d5a0f |
23
.github/workflows/build-reusable.yml
vendored
23
.github/workflows/build-reusable.yml
vendored
@@ -87,7 +87,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.ref }}
|
ref: ${{ inputs.ref }}
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
@@ -98,7 +98,7 @@ jobs:
|
|||||||
python-version: ${{ matrix.python }}
|
python-version: ${{ matrix.python }}
|
||||||
|
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@v4
|
uses: astral-sh/setup-uv@v6
|
||||||
|
|
||||||
- name: Install system dependencies (Ubuntu)
|
- name: Install system dependencies (Ubuntu)
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
@@ -322,24 +322,29 @@ jobs:
|
|||||||
pacman -S --noconfirm python python-pip gcc git zlib openssl
|
pacman -S --noconfirm python python-pip gcc git zlib openssl
|
||||||
|
|
||||||
- name: Download ALL wheel artifacts from this run
|
- name: Download ALL wheel artifacts from this run
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
# Don't specify name, download all artifacts
|
# Don't specify name, download all artifacts
|
||||||
path: ./wheels
|
path: ./wheels
|
||||||
|
|
||||||
- name: Install wheels (pip automatically picks matching tags from wheels directory)
|
- name: Install uv
|
||||||
|
uses: astral-sh/setup-uv@v6
|
||||||
|
|
||||||
|
- name: Create virtual environment and install wheels
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
uv venv
|
||||||
pip install --find-links wheels leann-core
|
source .venv/bin/activate || source .venv/Scripts/activate
|
||||||
pip install --find-links wheels leann-backend-hnsw
|
uv pip install --find-links wheels leann-core
|
||||||
pip install --find-links wheels leann-backend-diskann
|
uv pip install --find-links wheels leann-backend-hnsw
|
||||||
pip install --find-links wheels leann
|
uv pip install --find-links wheels leann-backend-diskann
|
||||||
|
uv pip install --find-links wheels leann
|
||||||
|
|
||||||
- name: Import & tiny runtime check
|
- name: Import & tiny runtime check
|
||||||
env:
|
env:
|
||||||
OMP_NUM_THREADS: 1
|
OMP_NUM_THREADS: 1
|
||||||
MKL_NUM_THREADS: 1
|
MKL_NUM_THREADS: 1
|
||||||
run: |
|
run: |
|
||||||
|
source .venv/bin/activate || source .venv/Scripts/activate
|
||||||
python - <<'PY'
|
python - <<'PY'
|
||||||
import leann
|
import leann
|
||||||
import leann_backend_hnsw as h
|
import leann_backend_hnsw as h
|
||||||
|
|||||||
Reference in New Issue
Block a user