@ -17,6 +17,9 @@ env:
CHECK : check-world PROVE_FLAGS=$PROVE_FLAGS
CHECK : check-world PROVE_FLAGS=$PROVE_FLAGS
CHECKFLAGS : -Otarget
CHECKFLAGS : -Otarget
PROVE_FLAGS : --timer
PROVE_FLAGS : --timer
# Build test dependencies as part of the build step, to see compiler
# errors/warnings in one place.
MBUILD_TARGET : all testprep
MTEST_ARGS : --print-errorlogs --no-rebuild -C build
MTEST_ARGS : --print-errorlogs --no-rebuild -C build
PGCTLTIMEOUT : 120 # avoids spurious failures during parallel tests
PGCTLTIMEOUT : 120 # avoids spurious failures during parallel tests
TEMP_CONFIG : ${CIRRUS_WORKING_DIR}/src/tools/ci/pg_ci_base.conf
TEMP_CONFIG : ${CIRRUS_WORKING_DIR}/src/tools/ci/pg_ci_base.conf
@ -99,7 +102,7 @@ task:
EOF
EOF
build_script : |
build_script : |
su postgres <<-EOF
su postgres <<-EOF
ninja -C build -j${BUILD_JOBS}
ninja -C build -j${BUILD_JOBS} ${MBUILD_TARGET}
EOF
EOF
upload_caches : ccache
upload_caches : ccache
@ -176,7 +179,7 @@ task:
-Dextra_lib_dirs=/usr/local/lib -Dextra_include_dirs=/usr/local/include/ \
-Dextra_lib_dirs=/usr/local/lib -Dextra_include_dirs=/usr/local/include/ \
build
build
EOF
EOF
build_script : su postgres -c 'ninja -C build -j${BUILD_JOBS}'
build_script : su postgres -c 'ninja -C build -j${BUILD_JOBS} ${MBUILD_TARGET} '
upload_caches : ccache
upload_caches : ccache
test_world_script : |
test_world_script : |
@ -378,8 +381,8 @@ task:
build-32
build-32
EOF
EOF
build_script : su postgres -c 'ninja -C build -j${BUILD_JOBS}'
build_script : su postgres -c 'ninja -C build -j${BUILD_JOBS} ${MBUILD_TARGET} '
build_32_script : su postgres -c 'ninja -C build-32 -j${BUILD_JOBS}'
build_32_script : su postgres -c 'ninja -C build-32 -j${BUILD_JOBS} ${MBUILD_TARGET} '
upload_caches : ccache
upload_caches : ccache
@ -498,7 +501,7 @@ task:
-DPG_TEST_EXTRA="$PG_TEST_EXTRA" \
-DPG_TEST_EXTRA="$PG_TEST_EXTRA" \
build
build
build_script : ninja -C build -j${BUILD_JOBS}
build_script : ninja -C build -j${BUILD_JOBS} ${MBUILD_TARGET}
upload_caches : ccache
upload_caches : ccache
test_world_script : |
test_world_script : |
@ -571,7 +574,7 @@ task:
build_script : |
build_script : |
vcvarsall x64
vcvarsall x64
ninja -C build
ninja -C build %MBUILD_TARGET%
check_world_script : |
check_world_script : |
vcvarsall x64
vcvarsall x64
@ -629,7 +632,7 @@ task:
%BASH% -c "meson setup -Ddebug=true -Doptimization=g -Dcassert=true -Db_pch=true -Dnls=disabled -DTAR=%TAR% build"
%BASH% -c "meson setup -Ddebug=true -Doptimization=g -Dcassert=true -Db_pch=true -Dnls=disabled -DTAR=%TAR% build"
build_script : |
build_script : |
%BASH% -c "ninja -C build"
%BASH% -c "ninja -C build ${MBUILD_TARGET} "
upload_caches : ccache
upload_caches : ccache