mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 11:32:46 +01:00
01fc1af361
6136a96cdf631f824fb89cf2720422787439acc9 ci: Rename RUN_CI_ON_HOST to DANGER_RUN_CI_ON_HOST (Hennadii Stepanov) 97ba77aa8e58c3c7ff767e6ca804d0e46370e5dc ci: Add native s390x (Hennadii Stepanov) Pull request description: Unlike the Docker wrapped solution (#17591) this PR suggests running on host system directly. This approach makes builds quick and stable (see: #18106). The excerpt from the Travis log: ``` ... Running on host system without docker wrapper ... Byte Order: Big Endian ... ``` ACKs for top commit: MarcoFalke: ACK 6136a96cdf631f824fb89cf2720422787439acc9 Tree-SHA512: 1b591de13e38d10a35217e1de11cbd648a359d18d16eed166fac18ea5788b58cc9fc6d407086ed342b99e57e479efd951a0ea693710177e500eb116316b9a788
53 lines
1.8 KiB
YAML
53 lines
1.8 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 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
|
|
task:
|
|
name: "x86_64 Linux [GOAL: install] [focal] [Using ./ci/ system]"
|
|
container:
|
|
image: ubuntu:focal
|
|
cpu: 8
|
|
memory: 8G
|
|
timeout_in: 60m
|
|
env:
|
|
MAKEJOBS: "-j9"
|
|
DANGER_RUN_CI_ON_HOST: "1"
|
|
CCACHE_SIZE: "200M"
|
|
CCACHE_DIR: "/tmp/ccache_dir"
|
|
ccache_cache:
|
|
folder: "/tmp/ccache_dir"
|
|
depends_built_cache:
|
|
folder: "/tmp/cirrus-ci-build/depends/built"
|
|
install_script:
|
|
- apt-get update
|
|
- apt-get -y install git bash ccache
|
|
- ccache --max-size=${CCACHE_SIZE}
|
|
ci_script:
|
|
- ./ci/test_run_all.sh
|