configure_script: |
su postgres <<-EOF
+ set -e
meson setup \
--buildtype=debug \
--auto-features=disabled \
EOF
build_script: |
su postgres <<-EOF
+ set -e
ninja -C build -j${BUILD_JOBS} ${MBUILD_TARGET}
EOF
upload_caches: ccache
# tap test that exercises both a frontend binary and the backend.
test_minimal_script: |
su postgres <<-EOF
+ set -e
ulimit -c unlimited
meson test $MTEST_ARGS --num-processes ${TEST_JOBS} \
tmp_install cube/regress pg_ctl/001_start_stop
# already takes longer than other platforms except for windows.
configure_script: |
su postgres <<-EOF
+ set -e
meson setup \
--buildtype=debug \
-Dcassert=true -Duuid=bsd -Dtcl_version=tcl86 -Ddtrace=auto \
test_world_script: |
su postgres <<-EOF
+ set -e
ulimit -c unlimited
meson test $MTEST_ARGS --num-processes ${TEST_JOBS}
EOF
# during upload, as it doesn't expect artifacts to change size
stop_running_script: |
su postgres <<-EOF
+ set -e
build/tmp_install/usr/local/pgsql/bin/pg_ctl -D build/runningcheck stop || true
EOF
<<: *on_failure_meson
# that.
configure_script: |
su postgres <<-EOF
+ set -e
./configure \
--enable-cassert --enable-debug --enable-tap-tests \
--enable-nls \
test_world_script: |
su postgres <<-EOF
+ set -e
ulimit -c unlimited # default is 0
make -s ${CHECK} ${CHECKFLAGS} -j${TEST_JOBS}
EOF
configure_script: |
su postgres <<-EOF
+ set -e
meson setup \
--buildtype=debug \
-Dcassert=true \
# locally.
configure_32_script: |
su postgres <<-EOF
+ set -e
export CC='ccache gcc -m32'
meson setup \
--buildtype=debug \
test_world_script: |
su postgres <<-EOF
+ set -e
ulimit -c unlimited
meson test $MTEST_ARGS --num-processes ${TEST_JOBS}
EOF
# from C, prevent that with PYTHONCOERCECLOCALE.
test_world_32_script: |
su postgres <<-EOF
+ set -e
ulimit -c unlimited
PYTHONCOERCECLOCALE=0 LANG=C meson test $MTEST_ARGS -C build-32 --num-processes ${TEST_JOBS}
EOF