From bc05dbf312095306e76cbdda0a239303daf542c4 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Thu, 25 Sep 2025 15:54:37 -0700 Subject: [PATCH] Updated CI for Postgres 18 [skip ci] --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b749cf4..b9e5aca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,7 +48,7 @@ jobs: fail-fast: false matrix: include: - - postgres: 17 + - postgres: 18 os: macos-26 - postgres: 14 os: macos-15-intel @@ -59,7 +59,7 @@ jobs: postgres-version: ${{ matrix.postgres }} - run: make env: - PG_CFLAGS: -DUSE_ASSERT_CHECKING -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unknown-warning-option + PG_CFLAGS: -DUSE_ASSERT_CHECKING -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unknown-warning-option ${{ matrix.postgres >= 18 && '-Wno-missing-field-initializers' || '' }} - run: make install - run: make installcheck - if: ${{ failure() }} @@ -72,7 +72,7 @@ jobs: tar xf $TAG.tar.gz mv postgres-$TAG postgres env: - TAG: ${{ matrix.postgres == 17 && 'REL_17_6' || 'REL_14_19' }} + TAG: ${{ matrix.postgres == 18 && 'REL_18_0' || 'REL_14_19' }} - run: make prove_installcheck PROVE_FLAGS="-I ./postgres/src/test/perl -I ./test/perl" env: PERL5LIB: /Users/runner/perl5/lib/perl5 @@ -136,7 +136,7 @@ jobs: - uses: actions/checkout@v5 - uses: ankane/setup-postgres-valgrind@v1 with: - postgres-version: 17 + postgres-version: 18 check-ub: yes - run: make OPTFLAGS="" - run: sudo --preserve-env=PG_CONFIG make install