From a5f2d70bc2bcec54257ec56f6ed3d3d072cb1c65 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sat, 16 Mar 2024 12:02:45 -0700 Subject: [PATCH] Use temp directory for installation instructions on Windows [skip ci] --- .github/workflows/build.yml | 1 + README.md | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f22b737..bfd6072 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,6 +73,7 @@ jobs: postgres-version: 14 - run: | call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && ^ + cd %TEMP% && ^ nmake /NOLOGO /F Makefile.win && ^ nmake /NOLOGO /F Makefile.win install && ^ nmake /NOLOGO /F Makefile.win installcheck && ^ diff --git a/README.md b/README.md index f74eb20..727a8b7 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ Then use `nmake` to build: ```cmd set "PGROOT=C:\Program Files\PostgreSQL\16" +cd %TEMP% git clone --branch v0.6.1 https://github.com/pgvector/pgvector.git cd pgvector nmake /F Makefile.win