fixing test

This commit is contained in:
Abhijeet Patil
2024-01-19 18:20:14 +00:00
parent 8bdb683ee6
commit 1ad2641714
2 changed files with 4 additions and 1 deletions

View File

@@ -332,12 +332,15 @@ jobs:
key: v1-${{ runner.os }}-${{ matrix.build_type }}-pg-${{ steps.pg_v16_rev.outputs.pg_rev }}-${{ hashFiles('Makefile') }}
- name: Build postgres v14
if: steps.cache_pg_14.outputs.cache-hit != 'true'
run: mold -run make postgres-v14 -j$(nproc)
- name: Build postgres v15
if: steps.cache_pg_15.outputs.cache-hit != 'true'
run: mold -run make postgres-v15 -j$(nproc)
- name: Build postgres v16
if: steps.cache_pg_16.outputs.cache-hit != 'true'
run: mold -run make postgres-v16 -j$(nproc)
- name: Build neon extensions

View File

@@ -18,7 +18,7 @@ ifeq ($(BUILD_TYPE),release)
else ifeq ($(BUILD_TYPE),debug)
PG_CONFIGURE_OPTS = --enable-debug --with-openssl --enable-cassert --enable-depend
PG_CFLAGS = -O0 -g3 $(CFLAGS)
CPPFLAGS = -fsanitize=address -fsanitize=undefined -fno-sanitize-recover -fno-sanitize=alignment -Wno-cast-function-type-strict
CPPFLAGS = -fsanitize=address -fsanitize=undefined -fno-sanitize-recover -fno-sanitize-alignment -Wno-cast-function-type-strict
LDFLAGS = -fsanitize=address -fsanitize=undefined -export-dynamic
LD_PRELOAD=$(gcc -print-file-name=libasan.so)
else