Skip to content

Commit 49a8b3d

Browse files
authored
Build Postgres with assertion checks in "verify tests fail" workflow (#9725)
Add both --enable-cassert and --enable-debug there. This checks if a test would trigger an assertion failure on unfixed version.
1 parent 714f840 commit 49a8b3d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/tests-fail-on-old-code.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ jobs:
113113
tar --extract --file postgresql.tar.bz2 --directory ~/$PG_SRC_DIR --strip-components 1
114114
cd ~/$PG_SRC_DIR
115115
./configure --prefix=$HOME/$PG_INSTALL_DIR --with-openssl \
116-
--without-readline --without-zlib --without-libxml
116+
--without-readline --without-zlib --without-libxml --enable-debug \
117+
--enable-cassert
117118
make -j $(getconf _NPROCESSORS_ONLN)
118119
119120
- name: Install PostgreSQL ${{ steps.pg.outputs.version }}

0 commit comments

Comments
 (0)