Skip to content

Commit a065f9a

Browse files
authored
CI: add test on full debug options enabled case
1 parent 690776a commit a065f9a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/c-cpp.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,16 @@ jobs:
2020
git clone https://github.com/postgres/postgres.git pg
2121
cd pg
2222
git checkout master
23-
./configure --prefix=`pwd`/tmp_install
23+
./configure --prefix=`pwd`/tmp_install CFLAGS="-O3"
2424
git clone https://github.com/postgrespro/aqo.git contrib/aqo
2525
git -C contrib/aqo checkout $GITHUB_REF
2626
patch -p1 --no-backup-if-mismatch < contrib/aqo/aqo_master.patch
2727
make -j4 > /dev/null && make -j4 -C contrib > /dev/null
2828
env CLIENTS=50 THREADS=50 make -C contrib/aqo check
29+
30+
echo "Use AQO with debug code included"
31+
git clean -fdx
32+
git -C contrib/aqo clean -fdx
33+
./configure --prefix=`pwd`/tmp_install CFLAGS="-DAQO_DEBUG_PRINT -O0"
34+
make -j4 > /dev/null && make -j4 -C contrib > /dev/null
35+
env CLIENTS=50 THREADS=50 make -C contrib/aqo check

0 commit comments

Comments
 (0)