mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 03:22:47 +01:00
a03af87cf7
fa69588537bc91c0aedbc89ef1760d89cbffad75 test: Make PORT_MIN in test runner configurable (MarcoFalke) Pull request description: This is needed when some ports in the port range are used by other processes. Note that simply assigning the ports dynamically does not work: * We spin up several nodes per test (each node gets its own port) * We run several tests in parallel So to avoid nodes from different tests colliding on ports, the port assignment must be deterministic (can not be dynamic). Fixes: #10869 ACKs for top commit: practicalswift: ACK fa69588537bc91c0aedbc89ef1760d89cbffad75 -- diff looks correct promag: ACK fa69588537bc91c0aedbc89ef1760d89cbffad75. Tree-SHA512: e79adb015e7de79064e2d14336c38bc9672bd779ad6c52917721897e73f617c39d32c068a369c26670002a6c4ab95a71ef3a6878ebdd9710e02f410e2f7bcd14
31 lines
1.3 KiB
YAML
31 lines
1.3 KiB
YAML
task:
|
|
name: "FreeBsd 12.1 amd64 [GOAL: install] [no depends, only system libs]"
|
|
freebsd_instance:
|
|
image_family: freebsd-12-1 # https://cirrus-ci.org/guide/FreeBSD/
|
|
cpu: 8
|
|
memory: 8G
|
|
timeout_in: 60m
|
|
env:
|
|
MAKEJOBS: "-j9"
|
|
CONFIGURE_OPTS: "--disable-dependency-tracking"
|
|
GOAL: "install"
|
|
TEST_RUNNER_PORT_MIN: "14000" # Must be larger than 12321, which is used for the http cache. See https://cirrus-ci.org/guide/writing-tasks/#http-cache
|
|
CCACHE_SIZE: "200M"
|
|
CCACHE_COMPRESS: 1
|
|
CCACHE_DIR: "/tmp/ccache_dir"
|
|
ccache_cache:
|
|
folder: "/tmp/ccache_dir"
|
|
install_script:
|
|
- pkg install -y autoconf automake boost-libs git gmake libevent libtool openssl pkgconf python3 ccache
|
|
- ./contrib/install_db4.sh $(pwd)
|
|
- ccache --max-size=${CCACHE_SIZE}
|
|
configure_script:
|
|
- ./autogen.sh
|
|
- ./configure ${CONFIGURE_OPTS} BDB_LIBS="-L$(pwd)/db4/lib -ldb_cxx-4.8" BDB_CFLAGS="-I$(pwd)/db4/include" || ( cat config.log && false)
|
|
make_script:
|
|
- gmake ${MAKEJOBS} ${GOAL} || ( echo "Build failure. Verbose build follows." && gmake ${GOAL} V=1 ; false )
|
|
check_script:
|
|
- gmake check ${MAKEJOBS} VERBOSE=1
|
|
functional_test_script:
|
|
- ./test/functional/test_runner.py --jobs 9 --ci --extended --exclude feature_dbcrash --combinedlogslen=1000 --quiet --failfast
|