Added prove_installcheck for Windows

This commit is contained in:
Andrew Kane
2022-12-08 22:57:46 -08:00
parent 8c81213592
commit e52ef4f2b5
2 changed files with 7 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ on: [push, pull_request]
jobs: jobs:
ubuntu: ubuntu:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ !startsWith(github.ref_name, 'windows') }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@@ -26,6 +27,7 @@ jobs:
make prove_installcheck make prove_installcheck
mac: mac:
runs-on: macos-latest runs-on: macos-latest
if: ${{ !startsWith(github.ref_name, 'windows') }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: ankane/setup-postgres@v1 - uses: ankane/setup-postgres@v1
@@ -54,4 +56,5 @@ jobs:
nmake /NOLOGO /F Makefile.win nmake /NOLOGO /F Makefile.win
nmake /NOLOGO /F Makefile.win install nmake /NOLOGO /F Makefile.win install
nmake /NOLOGO /F Makefile.win installcheck nmake /NOLOGO /F Makefile.win installcheck
nmake /NOLOGO /F Makefile.win prove_installcheck PROVE=prove
shell: cmd shell: cmd

View File

@@ -54,3 +54,7 @@ install:
installcheck: installcheck:
"$(BINDIR)\pg_regress" --bindir="$(BINDIR)" $(REGRESS_OPTS) $(REGRESS) "$(BINDIR)\pg_regress" --bindir="$(BINDIR)" $(REGRESS_OPTS) $(REGRESS)
prove_installcheck:
rm -rf tmp_check
PGPORT=65432 PG_REGRESS="$(BINDIR)\pg_regress" $(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) test/t/*.pl