diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c03ec8e..bb8e3ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,15 +52,15 @@ jobs: with: postgres-version: 14 - run: | + cpan IPC::Run call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" nmake /NOLOGO /F Makefile.win nmake /NOLOGO /F Makefile.win install - nmake /NOLOGO /F Makefile.win installcheck curl -Ls -o REL_14_5.tar.gz https://github.com/postgres/postgres/archive/refs/tags/REL_14_5.tar.gz 7z x REL_14_5.tar.gz 7z x REL_14_5.tar ls -R . set PROVE=prove - set PROVE_FLAGS="-I .\postgres-REL_14_5\src\test\perl" + set PROVE_FLAGS="-I ./postgres-REL_14_5/src/test/perl" nmake /NOLOGO /F Makefile.win prove_installcheck shell: cmd diff --git a/Makefile.win b/Makefile.win index c229e04..42b0cb7 100644 --- a/Makefile.win +++ b/Makefile.win @@ -59,4 +59,4 @@ prove_installcheck: rm -rf tmp_check set PGPORT=65432 set PG_REGRESS="$(BINDIR)\pg_regress" - $(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) test\t\*.pl + $(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) test/t/*.pl