Skip to content

Commit e9f5eb4

Browse files
committed
Test Windows
1 parent a6dda87 commit e9f5eb4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,21 @@ jobs:
55
strategy:
66
fail-fast: false
77
matrix:
8-
os: [ubuntu-latest, macos-latest]
8+
os: [windows-latest]
99
runs-on: ${{ matrix.os }}
1010
steps:
1111
- uses: actions/checkout@v6
1212
- uses: ankane/setup-postgres@v1
1313
with:
1414
database: pgvector_cpp_test
1515
dev-files: true
16-
- run: |
17-
cd /tmp
16+
run: |
17+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
18+
cd %TEMP%
1819
git clone --branch v0.8.2 https://github.com/pgvector/pgvector.git
1920
cd pgvector
20-
make
21-
sudo make install
21+
nmake /NOLOGO /F Makefile.win
22+
nmake /NOLOGO /F Makefile.win install
2223
2324
- run: cmake -S . -B build -DBUILD_TESTING=ON -DCMAKE_CXX_STANDARD=20
2425
- run: cmake --build build

0 commit comments

Comments
 (0)