mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +03:00
ci: enable various runtime checks on FreeBSD and macOS
Increase likelihood of discovering problems during CI rather the buildfarm by defining -DRELCACHE_FORCE_RELEASE -DCOPY_PARSE_PLAN_TREES -DWRITE_READ_PARSE_PLAN_TREES -DRAW_EXPRESSION_COVERAGE_TEST on FreeBSD, and -DRANDOMIZE_ALLOCATED_MEMORY on macOS. FreeBSD and macoS are currently not CI bottlenecks, so we can afford to increase their test times a bit. Author: Justin Pryzby <pryzbyj@telsasoft.com> Discussion: https://postgr.es/m/20220910200542.GX31833@telsasoft.com
This commit is contained in:
@ -66,6 +66,7 @@ task:
|
|||||||
TEST_JOBS: 3
|
TEST_JOBS: 3
|
||||||
|
|
||||||
CCACHE_DIR: /tmp/ccache_dir
|
CCACHE_DIR: /tmp/ccache_dir
|
||||||
|
CPPFLAGS: -DRELCACHE_FORCE_RELEASE -DCOPY_PARSE_PLAN_TREES -DWRITE_READ_PARSE_PLAN_TREES -DRAW_EXPRESSION_COVERAGE_TEST
|
||||||
CFLAGS: -Og -ggdb
|
CFLAGS: -Og -ggdb
|
||||||
|
|
||||||
only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*freebsd.*'
|
only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*freebsd.*'
|
||||||
@ -306,6 +307,7 @@ task:
|
|||||||
|
|
||||||
CC: ccache cc
|
CC: ccache cc
|
||||||
CXX: ccache c++
|
CXX: ccache c++
|
||||||
|
CPPFLAGS: -DRANDOMIZE_ALLOCATED_MEMORY
|
||||||
CFLAGS: -Og -ggdb
|
CFLAGS: -Og -ggdb
|
||||||
CXXFLAGS: -Og -ggdb
|
CXXFLAGS: -Og -ggdb
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user