mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
ci: add substitute linux64 ubsan runner
This commit is contained in:
parent
ca564f40f2
commit
0b6ad25239
@ -255,6 +255,15 @@ linux64_tsan-build:
|
||||
variables:
|
||||
BUILD_TARGET: linux64_tsan
|
||||
|
||||
linux64_ubsan-build:
|
||||
extends:
|
||||
- .build-template
|
||||
- .skip-in-fast-mode-template
|
||||
needs:
|
||||
- x86_64-pc-linux-gnu-debug
|
||||
variables:
|
||||
BUILD_TARGET: linux64_ubsan
|
||||
|
||||
linux64_nowallet-build:
|
||||
extends:
|
||||
- .build-template
|
||||
@ -299,3 +308,12 @@ linux64_tsan-test:
|
||||
- linux64_tsan-build
|
||||
variables:
|
||||
BUILD_TARGET: linux64_tsan
|
||||
|
||||
linux64_ubsan-test:
|
||||
extends:
|
||||
- .test-template
|
||||
- .skip-in-fast-mode-template
|
||||
needs:
|
||||
- linux64_ubsan-build
|
||||
variables:
|
||||
BUILD_TARGET: linux64_ubsan
|
||||
|
@ -22,6 +22,8 @@ elif [ "$BUILD_TARGET" = "linux64" ]; then
|
||||
source ./ci/test/00_setup_env_native_qt5.sh
|
||||
elif [ "$BUILD_TARGET" = "linux64_tsan" ]; then
|
||||
source ./ci/test/00_setup_env_native_tsan.sh
|
||||
elif [ "$BUILD_TARGET" = "linux64_ubsan" ]; then
|
||||
source ./ci/test/00_setup_env_native_ubsan.sh
|
||||
elif [ "$BUILD_TARGET" = "linux64_fuzz" ]; then
|
||||
source ./ci/test/00_setup_env_native_fuzz.sh
|
||||
elif [ "$BUILD_TARGET" = "linux64_cxx20" ]; then
|
||||
|
15
ci/test/00_setup_env_native_ubsan.sh
Executable file
15
ci/test/00_setup_env_native_ubsan.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Copyright (c) 2019 The Bitcoin Core developers
|
||||
# Distributed under the MIT software license, see the accompanying
|
||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
export LC_ALL=C.UTF-8
|
||||
|
||||
export CONTAINER_NAME=ci_native_ubsan
|
||||
export PACKAGES="clang-8 llvm-8 python3-zmq qtbase5-dev qttools5-dev-tools libevent-dev bsdmainutils libboost-filesystem-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev"
|
||||
export DEP_OPTS="NO_UPNP=1 DEBUG=1"
|
||||
export GOAL="install"
|
||||
export BITCOIN_CONFIG="--enable-zmq --enable-reduce-exports --enable-crash-hooks --with-sanitizers=undefined"
|
||||
export PYZMQ=true
|
||||
export RUN_SYMBOL_TESTS=false
|
Loading…
Reference in New Issue
Block a user