Skip to content

Commit b9121e8

Browse files
committed
attempt 2
1 parent 0732a23 commit b9121e8

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/app-tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
- name: Check for MacOS Runner
2424
if: matrix.os == 'macos-latest-xlarge'
2525
run: brew install postgresql@14
26+
- name: Install pgvector on Windows using install-pgvector.bat
27+
if: matrix.os == 'windows-latest'
28+
run: .\install-pgvector.bat
2629
- name: Setup postgres
2730
uses: ikalnytskyi/action-setup-postgres@v6
2831
with:
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
set "PGROOT=C:\Program Files\PostgreSQL\14"
2+
cd $RUNNER_TEMP
3+
git clone --branch v0.6.2 https://github.com/pgvector/pgvector.git
4+
cd pgvector
5+
6+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
7+
nmake /NOLOGO /F Makefile.win
8+
nmake /NOLOGO /F Makefile.win install

0 commit comments

Comments
 (0)