mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-30 01:31:15 +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:
|
||||
ubuntu:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ !startsWith(github.ref_name, 'windows') }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -26,6 +27,7 @@ jobs:
|
||||
make prove_installcheck
|
||||
mac:
|
||||
runs-on: macos-latest
|
||||
if: ${{ !startsWith(github.ref_name, 'windows') }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ankane/setup-postgres@v1
|
||||
@@ -54,4 +56,5 @@ jobs:
|
||||
nmake /NOLOGO /F Makefile.win
|
||||
nmake /NOLOGO /F Makefile.win install
|
||||
nmake /NOLOGO /F Makefile.win installcheck
|
||||
nmake /NOLOGO /F Makefile.win prove_installcheck PROVE=prove
|
||||
shell: cmd
|
||||
|
||||
@@ -54,3 +54,7 @@ install:
|
||||
|
||||
installcheck:
|
||||
"$(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