mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 08:46:49 +02:00
gha: win diff upload name
This commit is contained in:
parent
f602ae1396
commit
50a153002a
2 changed files with 20 additions and 1 deletions
19
.github/workflows/release.yaml
vendored
19
.github/workflows/release.yaml
vendored
|
|
@ -49,6 +49,25 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: sqlite-vec-windows-x86_64-extension
|
name: sqlite-vec-windows-x86_64-extension
|
||||||
path: dist/*
|
path: dist/*
|
||||||
|
build-windows-x86_64-extension-msvc:
|
||||||
|
runs-on: windows-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: ilammy/msvc-dev-cmd@v1
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: "3.12"
|
||||||
|
- run: ./scripts/vendor.sh
|
||||||
|
shell: bash
|
||||||
|
- run: make sqlite-vec.h
|
||||||
|
- run: mkdir dist
|
||||||
|
- run: cl.exe /fPIC -shared /W4 /Ivendor/ /O2 /LD sqlite-vec.c -o dist/vec0.dll
|
||||||
|
- run: pip install pytest numpy; make test-loadable
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: sqlite-vec-windows-x86_64-msvc-extension
|
||||||
|
path: dist/*
|
||||||
|
- run: gh release upload ${{ github.ref_name }} dist/vec0.dll
|
||||||
build-wasm32-emscripten:
|
build-wasm32-emscripten:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
2
.github/workflows/test.yaml
vendored
2
.github/workflows/test.yaml
vendored
|
|
@ -73,7 +73,7 @@ jobs:
|
||||||
- run: pip install pytest numpy; make test-loadable
|
- run: pip install pytest numpy; make test-loadable
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: sqlite-vec-windows-x86_64-extension
|
name: sqlite-vec-windows-x86_64-msvc-extension
|
||||||
path: dist/*
|
path: dist/*
|
||||||
build-wasm32-emscripten:
|
build-wasm32-emscripten:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue