From 66bc7e894784c4d3efb7b6b27759d95bf0cb33e9 Mon Sep 17 00:00:00 2001 From: Alex Garcia Date: Sun, 9 Jun 2024 00:14:37 -0700 Subject: [PATCH] gha: msvc manual --- .github/workflows/test.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 21787ab..5eea6fb 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -67,7 +67,14 @@ jobs: python-version: "3.12" - run: ./scripts/vendor.sh shell: bash - - run: make loadable CC=cl.exe + - run: make sqlite-vec.h + - run: cl.exe \ + /fPIC -shared \ + /W4 \ + /Ivendor/ \ + /O2 \ + \ + sqlite-vec.c -o dist/vec0.dll - run: pip install pytest numpy; make test-loadable - uses: actions/upload-artifact@v4 with: