Skip to content

Commit 565b170

Browse files
committed
CI: add test on full debug options enabled case
1 parent 86b17ea commit 565b170

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/c-cpp.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,16 @@ jobs:
2020
git clone https://github.com/postgres/postgres.git pg
2121
cd pg
2222
git checkout REL_14_STABLE
23-
./configure --prefix=`pwd`/tmp_install
24-
23+
./configure --prefix=`pwd`/tmp_install CFLAGS="-O3"
2524
git clone https://github.com/postgrespro/aqo.git contrib/aqo
2625
git -C contrib/aqo checkout $GITHUB_REF
2726
patch -p1 --no-backup-if-mismatch < contrib/aqo/aqo_pg14.patch
2827
make -j4 > /dev/null && make -j4 -C contrib > /dev/null
2928
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)