mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-06 20:50:57 +08:00
Added prove_installcheck for Windows
This commit is contained in:
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user