mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-22 20:15:46 +08:00
Compare commits
8 Commits
v0.4.4
...
windows-pr
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb127fce8d | ||
|
|
7ce4e1f53e | ||
|
|
6e41c81412 | ||
|
|
98ec05145b | ||
|
|
e302c99d4a | ||
|
|
d6ab29e772 | ||
|
|
6ad96fe8ca | ||
|
|
e52ef4f2b5 |
10
.github/workflows/build.yml
vendored
10
.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
|
||||
@@ -53,5 +55,11 @@ jobs:
|
||||
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 ./postgres-REL_14_5/src/test/perl
|
||||
set PROVE=prove
|
||||
set PROVE_FLAGS="-I ./postgres-REL_14_5/src/test/perl"
|
||||
nmake /NOLOGO /F Makefile.win prove_installcheck
|
||||
shell: cmd
|
||||
|
||||
@@ -54,3 +54,9 @@ install:
|
||||
|
||||
installcheck:
|
||||
"$(BINDIR)\pg_regress" --bindir="$(BINDIR)" $(REGRESS_OPTS) $(REGRESS)
|
||||
|
||||
prove_installcheck:
|
||||
rm -rf tmp_check
|
||||
set PGPORT=65432
|
||||
set PG_REGRESS="$(BINDIR)\pg_regress"
|
||||
$(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) test/t/*.pl
|
||||
|
||||
Reference in New Issue
Block a user