summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2022-10-01 17:04:13 -0700
committerAndres Freund <andres@anarazel.de>2022-10-01 17:39:53 -0700
commit89d16b63527d078ae611b0af1241258ffa1f460b (patch)
tree9cd9652aaa4eb6946441701f14d6ab9c3e28a8db /.cirrus.yml
parent2d2f08310490d63c4cc097243ba63a1601316c17 (diff)
downloadpostgresql-89d16b63527d078ae611b0af1241258ffa1f460b.tar.gz
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
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 825028f059..531cfe96f6 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -66,6 +66,7 @@ task:
TEST_JOBS: 3
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
only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*freebsd.*'
@@ -306,6 +307,7 @@ task:
CC: ccache cc
CXX: ccache c++
+ CPPFLAGS: -DRANDOMIZE_ALLOCATED_MEMORY
CFLAGS: -Og -ggdb
CXXFLAGS: -Og -ggdb