Skip to content

Commit bc05dbf

Browse files
committed
Updated CI for Postgres 18 [skip ci]
1 parent 02fefc0 commit bc05dbf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
fail-fast: false
4949
matrix:
5050
include:
51-
- postgres: 17
51+
- postgres: 18
5252
os: macos-26
5353
- postgres: 14
5454
os: macos-15-intel
@@ -59,7 +59,7 @@ jobs:
5959
postgres-version: ${{ matrix.postgres }}
6060
- run: make
6161
env:
62-
PG_CFLAGS: -DUSE_ASSERT_CHECKING -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unknown-warning-option
62+
PG_CFLAGS: -DUSE_ASSERT_CHECKING -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unknown-warning-option ${{ matrix.postgres >= 18 && '-Wno-missing-field-initializers' || '' }}
6363
- run: make install
6464
- run: make installcheck
6565
- if: ${{ failure() }}
@@ -72,7 +72,7 @@ jobs:
7272
tar xf $TAG.tar.gz
7373
mv postgres-$TAG postgres
7474
env:
75-
TAG: ${{ matrix.postgres == 17 && 'REL_17_6' || 'REL_14_19' }}
75+
TAG: ${{ matrix.postgres == 18 && 'REL_18_0' || 'REL_14_19' }}
7676
- run: make prove_installcheck PROVE_FLAGS="-I ./postgres/src/test/perl -I ./test/perl"
7777
env:
7878
PERL5LIB: /Users/runner/perl5/lib/perl5
@@ -136,7 +136,7 @@ jobs:
136136
- uses: actions/checkout@v5
137137
- uses: ankane/setup-postgres-valgrind@v1
138138
with:
139-
postgres-version: 17
139+
postgres-version: 18
140140
check-ub: yes
141141
- run: make OPTFLAGS=""
142142
- run: sudo --preserve-env=PG_CONFIG make install

0 commit comments

Comments
 (0)