mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 16:56:27 +02:00
include wasm build
This commit is contained in:
parent
3a67e1b78c
commit
9f4abd8044
1 changed files with 19 additions and 0 deletions
19
.github/workflows/release.yaml
vendored
19
.github/workflows/release.yaml
vendored
|
|
@ -46,6 +46,20 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: sqlite-vec-windows-x86_64-extension
|
name: sqlite-vec-windows-x86_64-extension
|
||||||
path: dist/*
|
path: dist/*
|
||||||
|
build-wasm32-emscripten:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: mymindstorm/setup-emsdk@v12
|
||||||
|
with:
|
||||||
|
version: "latest"
|
||||||
|
- run: ./scripts/vendor.sh
|
||||||
|
- run: make sqlite-vec.h
|
||||||
|
- run: make wasm
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: sqlite-vec-wasm32-emscripten
|
||||||
|
path: dist/*
|
||||||
dist:
|
dist:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
|
|
@ -54,6 +68,7 @@ jobs:
|
||||||
build-macos-x86_64-extension,
|
build-macos-x86_64-extension,
|
||||||
build-macos-aarch64-extension,
|
build-macos-aarch64-extension,
|
||||||
build-windows-x86_64-extension,
|
build-windows-x86_64-extension,
|
||||||
|
build-wasm32-emscripten,
|
||||||
]
|
]
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
@ -75,6 +90,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: sqlite-vec-windows-x86_64-extension
|
name: sqlite-vec-windows-x86_64-extension
|
||||||
path: dist/windows-x86_64
|
path: dist/windows-x86_64
|
||||||
|
- uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: sqlite-vec-wasm32-emscripten
|
||||||
|
path: dist/wasm32-emscripten
|
||||||
- run: |
|
- run: |
|
||||||
curl -L https://github.com/asg017/sqlite-dist/releases/download/v0.0.1-alpha.4/sqlite-dist-x86_64-unknown-linux-gnu.tar.xz \
|
curl -L https://github.com/asg017/sqlite-dist/releases/download/v0.0.1-alpha.4/sqlite-dist-x86_64-unknown-linux-gnu.tar.xz \
|
||||||
| tar xfJ - --strip-components 1
|
| tar xfJ - --strip-components 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue