mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-27 09:46:27 +02:00
test ncruces
This commit is contained in:
parent
73b9156a7c
commit
584952b9ee
2 changed files with 21 additions and 3 deletions
18
.github/workflows/test.yaml
vendored
18
.github/workflows/test.yaml
vendored
|
|
@ -89,6 +89,24 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: sqlite-vec-wasm32-emscripten
|
name: sqlite-vec-wasm32-emscripten
|
||||||
path: dist/*
|
path: dist/*
|
||||||
|
build-ncruces-go:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- run: make sqlite-vec.h
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: ncruces/go-sqlite3
|
||||||
|
path: go-sqlite3
|
||||||
|
- run: .github/workflows/repro.sh
|
||||||
|
working-directory: go-sqlite3/
|
||||||
|
- run: git apply ../bindings/go/ncruces/go-sqlite3.patch
|
||||||
|
working-directory: go-sqlite3/
|
||||||
|
- run: ./scripts/vendor.sh
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: sqlite-vec-ncruces-go
|
||||||
|
path: dist/*
|
||||||
build-cosmopolitan:
|
build-cosmopolitan:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ index 4fb926b..49a9ee9 100644
|
||||||
#include "vfs.c"
|
#include "vfs.c"
|
||||||
#include "vtab.c"
|
#include "vtab.c"
|
||||||
-
|
-
|
||||||
+#include "../../../../../sqlite-vec.c"
|
+#include "../../sqlite-vec.c"
|
||||||
sqlite3_destructor_type malloc_destructor = &free;
|
sqlite3_destructor_type malloc_destructor = &free;
|
||||||
|
|
||||||
__attribute__((constructor)) void init() {
|
__attribute__((constructor)) void init() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue