🌐 AI搜索 & 代理 主页
Skip to content

Commit b020b16

Browse files
author
Marina Polyakova
committed
Fix using of COPT=-Werror
It is only used during build, not during configure.
1 parent 070d10a commit b020b16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/c-cpp.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ jobs:
2121
echo "Deploying to production server on branch" $BRANCH_NAME
2222
git config --global user.email "ci@postgrespro.ru"
2323
git config --global user.name "CI PgPro admin"
24+
export COPT=-Werror
2425
git clone https://github.com/postgres/postgres.git pg
2526
cd pg
2627
git checkout master
27-
./configure --prefix=`pwd`/tmp_install CFLAGS="-O3" --enable-tap-tests --enable-cassert COPT=-Werror
28+
./configure --prefix=`pwd`/tmp_install CFLAGS="-O3" --enable-tap-tests --enable-cassert
2829
git clone https://github.com/postgrespro/aqo.git contrib/aqo
2930
git -C contrib/aqo checkout $BRANCH_NAME
3031
patch -p1 --no-backup-if-mismatch < contrib/aqo/aqo_master.patch

0 commit comments

Comments
 (0)