Add -Werror to CI builds.

This commit is contained in:
Arseny Sher
2022-02-14 21:31:47 +03:00
parent a4829712f4
commit 47f6a1f9a8

View File

@@ -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: