Skip to content

Commit 89d16b6

Browse files
committed
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
1 parent 2d2f083 commit 89d16b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.cirrus.yml

+2
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ task:
6666
TEST_JOBS: 3
6767

6868
CCACHE_DIR: /tmp/ccache_dir
69+
CPPFLAGS: -DRELCACHE_FORCE_RELEASE -DCOPY_PARSE_PLAN_TREES -DWRITE_READ_PARSE_PLAN_TREES -DRAW_EXPRESSION_COVERAGE_TEST
6970
CFLAGS: -Og -ggdb
7071

7172
only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*freebsd.*'
@@ -306,6 +307,7 @@ task:
306307

307308
CC: ccache cc
308309
CXX: ccache c++
310+
CPPFLAGS: -DRANDOMIZE_ALLOCATED_MEMORY
309311
CFLAGS: -Og -ggdb
310312
CXXFLAGS: -Og -ggdb
311313

0 commit comments

Comments
 (0)