pgvector.git / summary / log / commit / refs
commit f81d863dfd732ba5029f78df99a3b2b16340910b
Author: Andrew Kane <andrew@ankane.org>
Date: Sat Jun 10 01:39:44 2023 +0000
Catch warnings on CI
.github/workflows/build.yml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2805b415..8e9bf8f3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -25,6 +25,8 @@ jobs:
postgres-version: ${{ matrix.postgres }}
dev-files: true
- run: make
+ env:
+ PG_CFLAGS: -Wall -Werror
- run: |
export PG_CONFIG=`which pg_config`
sudo --preserve-env=PG_CONFIG make install
@@ -44,6 +46,8 @@ jobs:
with:
postgres-version: 14
- run: make
+ env:
+ PG_CFLAGS: -Wall -Werror
- run: make install
- run: make installcheck
- if: ${{ failure() }}
@@ -87,3 +91,5 @@ jobs:
chown -R postgres .
sudo -u postgres make installcheck
sudo -u postgres make prove_installcheck
+ env:
+ PG_CFLAGS: -Wall -Werror
[parent: b8c7a4f4b634]