@@ -12,16 +12,16 @@ jobs:
1212 os : ubuntu-24.04
1313 - postgres : 18
1414 os : ubuntu-24.04
15- - postgres : 17
16- os : ubuntu-24.04
17- - postgres : 16
18- os : ubuntu-24.04-arm
19- - postgres : 15
20- os : ubuntu-22.04
21- - postgres : 14
22- os : ubuntu-22.04-arm
23- - postgres : 13
24- os : ubuntu-22.04
15+ # - postgres: 17
16+ # os: ubuntu-24.04
17+ # - postgres: 16
18+ # os: ubuntu-24.04-arm
19+ # - postgres: 15
20+ # os: ubuntu-22.04
21+ # - postgres: 14
22+ # os: ubuntu-22.04-arm
23+ # - postgres: 13
24+ # os: ubuntu-22.04
2525 steps :
2626 - uses : actions/checkout@v6
2727 - uses : ankane/setup-postgres@v1
@@ -41,103 +41,103 @@ jobs:
4141 sudo apt-get update
4242 sudo apt-get install libipc-run-perl
4343 - run : make prove_installcheck
44- mac :
45- runs-on : ${{ matrix.os }}
46- if : ${{ !startsWith(github.ref_name, 'windows') }}
47- strategy :
48- fail-fast : false
49- matrix :
50- include :
51- - postgres : 18
52- os : macos-26
53- - postgres : 14
54- os : macos-15-intel
55- steps :
56- - uses : actions/checkout@v6
57- - uses : ankane/setup-postgres@v1
58- with :
59- postgres-version : ${{ matrix.postgres }}
60- - run : make
61- env :
62- PG_CFLAGS : -DUSE_ASSERT_CHECKING -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unknown-warning-option ${{ matrix.postgres >= 18 && '-Wno-missing-field-initializers' || '' }}
63- - run : make install
64- - run : make installcheck
65- - if : ${{ failure() }}
66- run : cat regression.diffs
67- # Homebrew Postgres does not enable TAP tests, so need to download
68- - run : |
69- brew install cpanm
70- cpanm --notest IPC::Run
71- wget -q https://github.com/postgres/postgres/archive/refs/tags/$TAG.tar.gz
72- tar xf $TAG.tar.gz
73- mv postgres-$TAG postgres
74- env:
75- TAG: ${{ matrix.postgres == 18 && 'REL_18_0' || 'REL_14_19' }}
76- - run : make prove_installcheck PROVE_FLAGS="-I ./postgres/src/test/perl -I ./test/perl"
77- env :
78- PERL5LIB : /Users/runner/perl5/lib/perl5
79- - run : make clean && $(brew --prefix llvm@$LLVM_VERSION)/bin/scan-build --status-bugs make
80- env :
81- LLVM_VERSION : ${{ matrix.os == 'macos-26' && 20 || 18 }}
82- PG_CFLAGS : -DUSE_ASSERT_CHECKING
83- windows :
84- runs-on : ${{ matrix.os }}
85- if : ${{ !startsWith(github.ref_name, 'mac') }}
86- strategy :
87- fail-fast : false
88- matrix :
89- include :
90- - postgres : 17
91- os : windows-2025
92- - postgres : 14
93- os : windows-2022
94- steps :
95- - uses : actions/checkout@v6
96- - uses : ankane/setup-postgres@v1
97- with :
98- postgres-version : ${{ matrix.postgres }}
99- - run : |
100- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && ^
101- nmake /NOLOGO /F Makefile.win && ^
102- nmake /NOLOGO /F Makefile.win install && ^
103- nmake /NOLOGO /F Makefile.win installcheck ${{ matrix.postgres != 17 && 'PG_REGRESS=$(PGROOT)\bin\pg_regress' || '' }} && ^
104- nmake /NOLOGO /F Makefile.win clean && ^
105- nmake /NOLOGO /F Makefile.win uninstall
106- shell: cmd
107- - if : ${{ failure() }}
108- run : cat regression.diffs
109- i386 :
110- if : ${{ !startsWith(github.ref_name, 'mac') && !startsWith(github.ref_name, 'windows') }}
111- runs-on : ubuntu-latest
112- container :
113- image : debian:12
114- options : --platform linux/386
115- steps :
116- - run : apt-get update && apt-get install -y build-essential git libipc-run-perl postgresql-15 postgresql-server-dev-15 sudo
117- - run : service postgresql start
118- - run : |
119- git clone https://github.com/${{ github.repository }}.git pgvector
120- cd pgvector
121- git fetch origin ${{ github.ref }}
122- git reset --hard FETCH_HEAD
123- make
124- make install
125- chown -R postgres .
126- sudo -u postgres make installcheck
127- sudo -u postgres make prove_installcheck
128- env:
129- PG_CFLAGS: -DUSE_ASSERT_CHECKING -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare
130- - if : ${{ failure() }}
131- run : cat pgvector/regression.diffs
132- valgrind :
133- if : ${{ !startsWith(github.ref_name, 'mac') && !startsWith(github.ref_name, 'windows') }}
134- runs-on : ubuntu-latest
135- steps :
136- - uses : actions/checkout@v6
137- - uses : ankane/setup-postgres-valgrind@v1
138- with :
139- postgres-version : 18
140- check-ub : yes
141- - run : make OPTFLAGS=""
142- - run : sudo --preserve-env=PG_CONFIG make install
143- - run : make installcheck
44+ # mac:
45+ # runs-on: ${{ matrix.os }}
46+ # if: ${{ !startsWith(github.ref_name, 'windows') }}
47+ # strategy:
48+ # fail-fast: false
49+ # matrix:
50+ # include:
51+ # - postgres: 18
52+ # os: macos-26
53+ # - postgres: 14
54+ # os: macos-15-intel
55+ # steps:
56+ # - uses: actions/checkout@v6
57+ # - uses: ankane/setup-postgres@v1
58+ # with:
59+ # postgres-version: ${{ matrix.postgres }}
60+ # - run: make
61+ # env:
62+ # PG_CFLAGS: -DUSE_ASSERT_CHECKING -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unknown-warning-option ${{ matrix.postgres >= 18 && '-Wno-missing-field-initializers' || '' }}
63+ # - run: make install
64+ # - run: make installcheck
65+ # - if: ${{ failure() }}
66+ # run: cat regression.diffs
67+ # # Homebrew Postgres does not enable TAP tests, so need to download
68+ # - run: |
69+ # brew install cpanm
70+ # cpanm --notest IPC::Run
71+ # wget -q https://github.com/postgres/postgres/archive/refs/tags/$TAG.tar.gz
72+ # tar xf $TAG.tar.gz
73+ # mv postgres-$TAG postgres
74+ # env:
75+ # TAG: ${{ matrix.postgres == 18 && 'REL_18_0' || 'REL_14_19' }}
76+ # - run: make prove_installcheck PROVE_FLAGS="-I ./postgres/src/test/perl -I ./test/perl"
77+ # env:
78+ # PERL5LIB: /Users/runner/perl5/lib/perl5
79+ # - run: make clean && $(brew --prefix llvm@$LLVM_VERSION)/bin/scan-build --status-bugs make
80+ # env:
81+ # LLVM_VERSION: ${{ matrix.os == 'macos-26' && 20 || 18 }}
82+ # PG_CFLAGS: -DUSE_ASSERT_CHECKING
83+ # windows:
84+ # runs-on: ${{ matrix.os }}
85+ # if: ${{ !startsWith(github.ref_name, 'mac') }}
86+ # strategy:
87+ # fail-fast: false
88+ # matrix:
89+ # include:
90+ # - postgres: 17
91+ # os: windows-2025
92+ # - postgres: 14
93+ # os: windows-2022
94+ # steps:
95+ # - uses: actions/checkout@v6
96+ # - uses: ankane/setup-postgres@v1
97+ # with:
98+ # postgres-version: ${{ matrix.postgres }}
99+ # - run: |
100+ # call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && ^
101+ # nmake /NOLOGO /F Makefile.win && ^
102+ # nmake /NOLOGO /F Makefile.win install && ^
103+ # nmake /NOLOGO /F Makefile.win installcheck ${{ matrix.postgres != 17 && 'PG_REGRESS=$(PGROOT)\bin\pg_regress' || '' }} && ^
104+ # nmake /NOLOGO /F Makefile.win clean && ^
105+ # nmake /NOLOGO /F Makefile.win uninstall
106+ # shell: cmd
107+ # - if: ${{ failure() }}
108+ # run: cat regression.diffs
109+ # i386:
110+ # if: ${{ !startsWith(github.ref_name, 'mac') && !startsWith(github.ref_name, 'windows') }}
111+ # runs-on: ubuntu-latest
112+ # container:
113+ # image: debian:12
114+ # options: --platform linux/386
115+ # steps:
116+ # - run: apt-get update && apt-get install -y build-essential git libipc-run-perl postgresql-15 postgresql-server-dev-15 sudo
117+ # - run: service postgresql start
118+ # - run: |
119+ # git clone https://github.com/${{ github.repository }}.git pgvector
120+ # cd pgvector
121+ # git fetch origin ${{ github.ref }}
122+ # git reset --hard FETCH_HEAD
123+ # make
124+ # make install
125+ # chown -R postgres .
126+ # sudo -u postgres make installcheck
127+ # sudo -u postgres make prove_installcheck
128+ # env:
129+ # PG_CFLAGS: -DUSE_ASSERT_CHECKING -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare
130+ # - if: ${{ failure() }}
131+ # run: cat pgvector/regression.diffs
132+ # valgrind:
133+ # if: ${{ !startsWith(github.ref_name, 'mac') && !startsWith(github.ref_name, 'windows') }}
134+ # runs-on: ubuntu-latest
135+ # steps:
136+ # - uses: actions/checkout@v6
137+ # - uses: ankane/setup-postgres-valgrind@v1
138+ # with:
139+ # postgres-version: 18
140+ # check-ub: yes
141+ # - run: make OPTFLAGS=""
142+ # - run: sudo --preserve-env=PG_CONFIG make install
143+ # - run: make installcheck
0 commit comments