From 47f6a1f9a8fa44cc4bf7cf1730c1b69c188a2a32 Mon Sep 17 00:00:00 2001 From: Arseny Sher Date: Mon, 14 Feb 2022 21:31:47 +0300 Subject: [PATCH] Add -Werror to CI builds. --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index be58b008e3..73c487c301 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -54,7 +54,8 @@ jobs: if [ ! -e tmp_install/bin/postgres ]; then # "depth 1" saves some time by not cloning the whole repo git submodule update --init --depth 1 - mold -run make postgres -j$(nproc) + # bail out on any warnings + COPT='-Werror' mold -run make postgres -j$(nproc) fi - save_cache: