mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-08-05 06:24:49 +02:00
ci: Run non-cross-compile builds natively
This commit is contained in:
parent
fa56bcbb01
commit
fa8a60bce9
13
.travis.yml
13
.travis.yml
@ -28,6 +28,7 @@
|
|||||||
dist: xenial
|
dist: xenial
|
||||||
os: linux
|
os: linux
|
||||||
language: minimal
|
language: minimal
|
||||||
|
arch: amd64
|
||||||
cache:
|
cache:
|
||||||
ccache: true
|
ccache: true
|
||||||
directories:
|
directories:
|
||||||
@ -114,33 +115,33 @@ jobs:
|
|||||||
- stage: test
|
- stage: test
|
||||||
name: 'x86_64 Linux [GOAL: install] [bionic] [uses qt5 dev package instead of depends Qt to speed up build and avoid timeout] [unsigned char]'
|
name: 'x86_64 Linux [GOAL: install] [bionic] [uses qt5 dev package instead of depends Qt to speed up build and avoid timeout] [unsigned char]'
|
||||||
env: >-
|
env: >-
|
||||||
FILE_ENV="./ci/test/00_setup_env_amd64_qt5.sh"
|
FILE_ENV="./ci/test/00_setup_env_native_qt5.sh"
|
||||||
|
|
||||||
- stage: test
|
- stage: test
|
||||||
name: 'x86_64 Linux [GOAL: install] [trusty] [no functional tests, no depends, only system libs]'
|
name: 'x86_64 Linux [GOAL: install] [trusty] [no functional tests, no depends, only system libs]'
|
||||||
env: >-
|
env: >-
|
||||||
FILE_ENV="./ci/test/00_setup_env_amd64_trusty.sh"
|
FILE_ENV="./ci/test/00_setup_env_native_trusty.sh"
|
||||||
|
|
||||||
- stage: test
|
- stage: test
|
||||||
name: 'x86_64 Linux [GOAL: install] [xenial] [no depends, only system libs, sanitizers: thread (TSan), no wallet]'
|
name: 'x86_64 Linux [GOAL: install] [xenial] [no depends, only system libs, sanitizers: thread (TSan), no wallet]'
|
||||||
env: >-
|
env: >-
|
||||||
FILE_ENV="./ci/test/00_setup_env_amd64_tsan.sh"
|
FILE_ENV="./ci/test/00_setup_env_native_tsan.sh"
|
||||||
TEST_RUNNER_EXTRA="--exclude feature_block" # Not enough memory on travis machines
|
TEST_RUNNER_EXTRA="--exclude feature_block" # Not enough memory on travis machines
|
||||||
|
|
||||||
- stage: test
|
- stage: test
|
||||||
name: 'x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs, sanitizers: address/leak (ASan + LSan) + undefined (UBSan) + integer]'
|
name: 'x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs, sanitizers: address/leak (ASan + LSan) + undefined (UBSan) + integer]'
|
||||||
env: >-
|
env: >-
|
||||||
FILE_ENV="./ci/test/00_setup_env_amd64_asan.sh"
|
FILE_ENV="./ci/test/00_setup_env_native_asan.sh"
|
||||||
|
|
||||||
- stage: test
|
- stage: test
|
||||||
name: 'x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs, sanitizers: fuzzer,address,undefined]'
|
name: 'x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs, sanitizers: fuzzer,address,undefined]'
|
||||||
env: >-
|
env: >-
|
||||||
FILE_ENV="./ci/test/00_setup_env_amd64_fuzz.sh"
|
FILE_ENV="./ci/test/00_setup_env_native_fuzz.sh"
|
||||||
|
|
||||||
- stage: test
|
- stage: test
|
||||||
name: 'x86_64 Linux [GOAL: install] [bionic] [no wallet]'
|
name: 'x86_64 Linux [GOAL: install] [bionic] [no wallet]'
|
||||||
env: >-
|
env: >-
|
||||||
FILE_ENV="./ci/test/00_setup_env_amd64_nowallet.sh"
|
FILE_ENV="./ci/test/00_setup_env_native_nowallet.sh"
|
||||||
|
|
||||||
- stage: test
|
- stage: test
|
||||||
name: 'macOS 10.10 [GOAL: deploy] [no functional tests]'
|
name: 'macOS 10.10 [GOAL: deploy] [no functional tests]'
|
||||||
|
@ -21,6 +21,9 @@ echo "Fallback to default values in env (if not yet set)"
|
|||||||
export MAKEJOBS=${MAKEJOBS:--j4}
|
export MAKEJOBS=${MAKEJOBS:--j4}
|
||||||
# A folder for the ci system to put temporary files (ccache, datadirs for tests, ...)
|
# A folder for the ci system to put temporary files (ccache, datadirs for tests, ...)
|
||||||
export BASE_SCRATCH_DIR=${BASE_SCRATCH_DIR:-$BASE_ROOT_DIR/ci/scratch/}
|
export BASE_SCRATCH_DIR=${BASE_SCRATCH_DIR:-$BASE_ROOT_DIR/ci/scratch/}
|
||||||
|
# What host to compile for. See also ./depends/README.md
|
||||||
|
# Tests that need cross-compilation export the appropriate HOST.
|
||||||
|
# Tests that run natively, do not set a HOST, but we assume x86_64 here if the calling environment did not set a HOST
|
||||||
export HOST=${HOST:-x86_64-unknown-linux-gnu}
|
export HOST=${HOST:-x86_64-unknown-linux-gnu}
|
||||||
# Whether to prefer BusyBox over GNU utilities
|
# Whether to prefer BusyBox over GNU utilities
|
||||||
export USE_BUSY_BOX=${USE_BUSY_BOX:-false}
|
export USE_BUSY_BOX=${USE_BUSY_BOX:-false}
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
export LC_ALL=C.UTF-8
|
export LC_ALL=C.UTF-8
|
||||||
|
|
||||||
export HOST=x86_64-unknown-linux-gnu
|
|
||||||
export PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev"
|
export PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev"
|
||||||
export NO_DEPENDS=1
|
export NO_DEPENDS=1
|
||||||
export GOAL="install"
|
export GOAL="install"
|
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
export LC_ALL=C.UTF-8
|
export LC_ALL=C.UTF-8
|
||||||
|
|
||||||
export HOST=x86_64-unknown-linux-gnu
|
|
||||||
export PACKAGES="clang llvm python3 libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev"
|
export PACKAGES="clang llvm python3 libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev"
|
||||||
export NO_DEPENDS=1
|
export NO_DEPENDS=1
|
||||||
export RUN_UNIT_TESTS=false
|
export RUN_UNIT_TESTS=false
|
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
export LC_ALL=C.UTF-8
|
export LC_ALL=C.UTF-8
|
||||||
|
|
||||||
export HOST=x86_64-unknown-linux-gnu
|
|
||||||
export PACKAGES="python3-zmq"
|
export PACKAGES="python3-zmq"
|
||||||
export DEP_OPTS="NO_WALLET=1"
|
export DEP_OPTS="NO_WALLET=1"
|
||||||
export GOAL="install"
|
export GOAL="install"
|
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
export LC_ALL=C.UTF-8
|
export LC_ALL=C.UTF-8
|
||||||
|
|
||||||
export HOST=x86_64-unknown-linux-gnu
|
|
||||||
export PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools libdbus-1-dev libharfbuzz-dev"
|
export PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools libdbus-1-dev libharfbuzz-dev"
|
||||||
export DEP_OPTS="NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1"
|
export DEP_OPTS="NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1"
|
||||||
export TEST_RUNNER_EXTRA="--coverage --extended --exclude feature_dbcrash" # Run extended tests so that coverage does not fail, but exclude the very slow dbcrash
|
export TEST_RUNNER_EXTRA="--coverage --extended --exclude feature_dbcrash" # Run extended tests so that coverage does not fail, but exclude the very slow dbcrash
|
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
export LC_ALL=C.UTF-8
|
export LC_ALL=C.UTF-8
|
||||||
|
|
||||||
export HOST=x86_64-unknown-linux-gnu
|
|
||||||
export DOCKER_NAME_TAG=ubuntu:14.04
|
export DOCKER_NAME_TAG=ubuntu:14.04
|
||||||
export PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools libicu-dev libpng-dev libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.1++-dev libzmq3-dev libqrencode-dev"
|
export PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools libicu-dev libpng-dev libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.1++-dev libzmq3-dev libqrencode-dev"
|
||||||
export NO_DEPENDS=1
|
export NO_DEPENDS=1
|
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
export LC_ALL=C.UTF-8
|
export LC_ALL=C.UTF-8
|
||||||
|
|
||||||
export HOST=x86_64-unknown-linux-gnu
|
|
||||||
export DOCKER_NAME_TAG=ubuntu:16.04
|
export DOCKER_NAME_TAG=ubuntu:16.04
|
||||||
export PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev"
|
export PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev"
|
||||||
export NO_DEPENDS=1
|
export NO_DEPENDS=1
|
Loading…
Reference in New Issue
Block a user