diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4ab688c672..755d40a4c9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -251,6 +251,13 @@ linux64_cxx20-build: variables: BUILD_TARGET: linux64_cxx20 +linux64_sqlite-build: + extends: .build-template + needs: + - x86_64-pc-linux-gnu-debug + variables: + BUILD_TARGET: linux64_sqlite + linux64_fuzz-build: extends: .build-template needs: @@ -312,6 +319,13 @@ linux64-test: variables: BUILD_TARGET: linux64 +linux64_sqlite-test: + extends: .test-template + needs: + - linux64_sqlite-build + variables: + BUILD_TARGET: linux64_sqlite + linux64_tsan-test: extends: - .test-template diff --git a/ci/dash/matrix.sh b/ci/dash/matrix.sh index 21028410a4..6b21a0f5d8 100755 --- a/ci/dash/matrix.sh +++ b/ci/dash/matrix.sh @@ -30,6 +30,8 @@ elif [ "$BUILD_TARGET" = "linux64_fuzz" ]; then source ./ci/test/00_setup_env_native_fuzz.sh elif [ "$BUILD_TARGET" = "linux64_cxx20" ]; then source ./ci/test/00_setup_env_native_cxx20.sh +elif [ "$BUILD_TARGET" = "linux64_sqlite" ]; then + source ./ci/test/00_setup_env_native_sqlite.sh elif [ "$BUILD_TARGET" = "linux64_nowallet" ]; then source ./ci/test/00_setup_env_native_nowallet.sh elif [ "$BUILD_TARGET" = "mac" ]; then diff --git a/ci/test/00_setup_env_native_sqlite.sh b/ci/test/00_setup_env_native_sqlite.sh new file mode 100644 index 0000000000..e97fd0ebb9 --- /dev/null +++ b/ci/test/00_setup_env_native_sqlite.sh @@ -0,0 +1,12 @@ +#!/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 PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools libdbus-1-dev libharfbuzz-dev" +export DEP_OPTS="NO_BDB=1 NO_UPNP=1 DEBUG=1" +export GOAL="install" +export BITCOIN_CONFIG="--enable-zmq --enable-glibc-back-compat --enable-reduce-exports --with-sqlite --without-bdb LDFLAGS=-static-libstdc++"