Skip to content

Commit 79f7f3e

Browse files
Merge pull request #4336 from kittywhiskers/docker
build: support containerized development via Docker; revert dash#4621
2 parents 9414c67 + 58e4cca commit 79f7f3e

31 files changed

+664
-39
lines changed

.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
**
2+
!contrib/containers/ci/Dockerfile
3+
!contrib/containers/deploy/Dockerfile
4+
!contrib/containers/develop/Dockerfile

.github/workflows/release_docker_hub.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
uses: docker/build-push-action@v2
5353
with:
5454
context: ./docker
55-
file: ./docker/Dockerfile.GitHubActions
55+
file: ./contrib/containers/deploy/Dockerfile.GitHubActions
5656
push: true
5757
tags: ${{ steps.docker_meta.outputs.tags }}
5858
labels: ${{ steps.docker_meta.outputs.labels }}

.gitlab-ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ builder-image:
2626
before_script:
2727
- echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY
2828
script:
29-
- cd ci
29+
- cd contrib/containers/ci
3030
- docker pull $CI_REGISTRY_IMAGE:builder-$CI_COMMIT_REF_SLUG || true
3131
- docker pull $CI_REGISTRY_IMAGE:builder-develop || true
32-
- docker build --cache-from $CI_REGISTRY_IMAGE:builder-$CI_COMMIT_REF_SLUG --cache-from $CI_REGISTRY_IMAGE:builder-develop -t $CI_REGISTRY_IMAGE:builder-$CI_COMMIT_REF_SLUG -f Dockerfile.builder .
32+
- docker build --cache-from $CI_REGISTRY_IMAGE:builder-$CI_COMMIT_REF_SLUG --cache-from $CI_REGISTRY_IMAGE:builder-develop -t $CI_REGISTRY_IMAGE:builder-$CI_COMMIT_REF_SLUG -f Dockerfile .
3333
- docker push $CI_REGISTRY_IMAGE:builder-$CI_COMMIT_REF_SLUG
3434

3535
.build-depends-template:
@@ -63,7 +63,7 @@ builder-image:
6363
# Let all branches share the same cache, which is ok because the depends subsystem is able to handle this properly (it works with hashes of all scripts)
6464
key:
6565
files:
66-
- ci/Dockerfile.builder
66+
- contrib/containers/ci/Dockerfile
6767
prefix: ${CI_JOB_NAME}
6868
paths:
6969
- depends/built
@@ -80,7 +80,7 @@ builder-image:
8080
before_script:
8181
- export CACHE_DIR=$CI_PROJECT_DIR/cache
8282
- echo BUILD_TARGET=$BUILD_TARGET
83-
- source ./ci/matrix.sh
83+
- source ./ci/dash/matrix.sh
8484

8585
# Setup some environment variables
8686
- |
@@ -109,13 +109,13 @@ builder-image:
109109
stage: build
110110
extends: .base-template
111111
script:
112-
- ./ci/build_src.sh
113-
- ./ci/test_unittests.sh # Run unit tests in build stage to avoid creating too many parallel jobs
112+
- ./ci/dash/build_src.sh
113+
- ./ci/dash/test_unittests.sh # Run unit tests in build stage to avoid creating too many parallel jobs
114114
cache:
115115
# Let all branches share the same cache, which is ok because ccache is able to handle it
116116
key:
117117
files:
118-
- ci/Dockerfile.builder
118+
- contrib/containers/ci/Dockerfile
119119
prefix: ${CI_JOB_NAME}
120120
paths:
121121
- cache/ccache
@@ -141,7 +141,7 @@ builder-image:
141141
INTEGRATION_TESTS_ARGS: "--extended --exclude feature_pruning,feature_dbcrash"
142142
script:
143143
- echo "INTEGRATION_TESTS_ARGS=${INTEGRATION_TESTS_ARGS}"
144-
- ./ci/test_integrationtests.sh $INTEGRATION_TESTS_ARGS
144+
- ./ci/dash/test_integrationtests.sh $INTEGRATION_TESTS_ARGS
145145
after_script:
146146
- mkdir -p $CI_PROJECT_DIR/testlogs
147147
artifacts:

.travis.yml

Lines changed: 320 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,320 @@
1+
# errata:
2+
# - sudo/dist/group are set so as to get Blue Box VMs, necessary for [loopback]
3+
# IPv6 support
4+
5+
dist: xenial
6+
7+
os: linux
8+
language: minimal
9+
10+
services:
11+
- docker
12+
13+
cache:
14+
ccache: true
15+
directories:
16+
- $HOME/cache
17+
env:
18+
global:
19+
# DOCKER_HUB_USER
20+
- secure: "J0T+zrRBBzBnxoioCD378cRSJUF8Vms32QMmrENVVfuJl03oBQv0QxSatLEiD4PtRPrN00mJ8/k/HdqFQ0SN1yg6a00duOZ6C9jk6t/fExBO1LNhp3Z7lcaMUrNEyRN6sgfVeznDVTGj9jBQU2HNlwHk0UD9BNp/k+Bjhrtw7Njp9JTLZKBgxrXk0WZmfk0d75Q+9DajA1j2tSfWVpwzv6HMGfqIH1wsVEakBY+tnaE6EO3IdzdWHhf/iV+Tx0tL0Qz/6mejgSuoGLTJLmeTrceTTmsDlN3B95y+XfcYDs6EP7gpzN8Ffg/mLV8xJ2Myj7+b1o+smMJZE5tLuPIeAu0YsfkPNa/tNLotOlDxF72per0kXyNYbRf+JrpxiOu9pLCtdtd40V2SsiNhpQqHVy+b+wkkqo2syTHT+9UNkqEi3WFm6TqFuOeQNtDm6R0hRl/Talw/ZEeKs68z1Cf6VyBrZG5LqtOurtWlKwXCe/Tr1i2g4BEAcbywphtCCcfgMK9YSGQnjKkGk6k9gVEa2bneYLZz1RSh2OpXnIsIJOX7X0hNd5xtQDLgbpSUlKwVcEriWeGe12GCszKNX9gdEo2bHeq4xAJ6BE+ot745z9dc+nC2BJ6Su+I5L6zBg4m2FWn0TWhPvz/6JR26t6ls/E7m+hkwJTCHnIUiFmmzpEw="
21+
# DOCKER_HUB_PASSWORD
22+
- secure: "RLzlMhfLqwSBrZqJOVOd61suXBn+HtUR3vOZfuFYF/Qmjjj5TE41+rObZmzc54hP/ZL+OH6blnibpvfDXlX+eN38ivFQfuxkJIGL68SJsEwNBRwW39Yw6Hl5RdI41MLCH7ByN15wifLp1JKBilHJ7XGMOUjI7P0yl7JjX8GBXUCtJbVLRugo80/yn+XQ1NdnlpbpYHNjMEQFWSODPa3pSK5McWvyQjDZDgS+IkdrZmIYJPMa7bmKH5I/edUPSmXQT905FgEwq9u8XR0SyBopli21EK9l6GkXIIvmDTYz5vT26Apvi2B4Aoazlklg+KNRUJuLGerpt6kbnU0gMSUChVkFfFhOk6GRSN3a/AUfD2FOudvMhet2QvlPHx+GYdEUr5XVo5HW42pHsqfD6eDtHd8VLTsHP0q4C8V85fNMv21lkkehy2ry8fx/RRy6x4O2wg2mua+79UkGKXp75gMKzWEcth34PCFCOu37l2F8R/ANnrQ52K/8vIQ88TtU2OpYX89fHjLojBxu+WKEBGZH2LRPsZBOUHeeO5C/xKDrhZU24ORnMW8wg66Qg5GIX1KI4a8yp73Mpues5hzpJ6wkMuRrQt40ymKndLCjv8KSd+5BfP6Or/KIrzDNYdZaasjk7JNi6rcZmm9d3fTAo+Ja/mjpUCIOo3SX14luzVCJIig="
23+
- DOCKER_BUILD=false
24+
25+
stages:
26+
- build depends
27+
- build src
28+
- run tests
29+
- build docker
30+
31+
builddepends: &builddepends
32+
stage: build depends
33+
script:
34+
- $DOCKER_RUN_IN_BUILDER ./ci/dash/build_depends.sh
35+
36+
buildsrc: &buildsrc
37+
stage: build src
38+
script:
39+
- $DOCKER_RUN_IN_BUILDER ./ci/dash/build_depends.sh
40+
- $DOCKER_RUN_IN_BUILDER ./ci/dash/build_src.sh
41+
42+
runtests: &runtests
43+
stage: run tests
44+
script:
45+
- $DOCKER_RUN_IN_BUILDER ./ci/dash/build_depends.sh
46+
- $DOCKER_RUN_IN_BUILDER ./ci/dash/build_src.sh
47+
- $DOCKER_RUN_IN_BUILDER ./ci/dash/test_unittests.sh
48+
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then extended="--extended --exclude feature_pruning,feature_dbcrash"; fi
49+
- $DOCKER_RUN_IN_BUILDER ./ci/test_integrationtests.sh --quiet --jobs=3 ${extended}
50+
51+
builddocker: &builddocker
52+
stage: build docker
53+
script:
54+
# no need to run tests again here
55+
- if [ "$DOCKER_BUILD" = "true" ]; then $DOCKER_RUN_IN_BUILDER ./ci/dash/build_depends.sh && $DOCKER_RUN_IN_BUILDER ./ci/dash/build_src.sh && BUILD_DIR=build-ci/dashcore-$BUILD_TARGET ./ci/dash/build-docker.sh; fi
56+
57+
- MAKEJOBS=-j3
58+
- RUN_UNIT_TESTS=true
59+
- RUN_FUNCTIONAL_TESTS=true
60+
- RUN_BENCH=false # Set to true for any one job that has debug enabled, to quickly check bench is not crashing or hitting assertions
61+
- RUN_FUZZ_TESTS=false
62+
- DOCKER_NAME_TAG=ubuntu:18.04
63+
- BOOST_TEST_RANDOM=1$TRAVIS_BUILD_ID
64+
- CCACHE_SIZE=100M
65+
- CCACHE_TEMPDIR=/tmp/.ccache-temp
66+
- CCACHE_COMPRESS=1
67+
- CCACHE_DIR=$HOME/.ccache
68+
- BASE_OUTDIR=$TRAVIS_BUILD_DIR/out
69+
- SDK_URL=https://bitcoincore.org/depends-sources/sdks
70+
- WINEDEBUG=fixme-all
71+
- DOCKER_PACKAGES="build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git ca-certificates ccache"
72+
before_install:
73+
- set -o errexit; source .travis/test_03_before_install.sh
74+
install:
75+
- set -o errexit; source .travis/test_04_install.sh
76+
before_script:
77+
- set -o errexit; source .travis/test_05_before_script.sh
78+
script:
79+
- if [ $SECONDS -gt 1200 ]; then set +o errexit; echo "Travis early exit to cache current state"; false; else set -o errexit; source .travis/test_06_script.sh; fi
80+
after_script:
81+
- echo $TRAVIS_COMMIT_RANGE
82+
- echo $TRAVIS_COMMIT_LOG
83+
jobs:
84+
include:
85+
# build depends
86+
- <<: *builddepends
87+
name: depends-arm-linux
88+
env: BUILD_TARGET=arm-linux
89+
- <<: *builddepends
90+
name: depends-win64
91+
env: BUILD_TARGET=win64
92+
- <<: *builddepends
93+
name: depends-linux32
94+
env: BUILD_TARGET=linux32
95+
- <<: *builddepends
96+
name: depends-linux64
97+
env: BUILD_TARGET=linux64
98+
- <<: *builddepends
99+
name: depends-linux64_nowallet
100+
env: BUILD_TARGET=linux64_nowallet
101+
- <<: *builddepends
102+
name: depends-linux64_release
103+
env:
104+
- BUILD_TARGET=linux64_release
105+
- DOCKER_BUILD=true
106+
- <<: *builddepends
107+
name: depends-mac
108+
env: BUILD_TARGET=mac
109+
# build source
110+
- <<: *buildsrc
111+
name: src-arm-linux
112+
env: BUILD_TARGET=arm-linux
113+
- <<: *buildsrc
114+
name: src-win64
115+
env: BUILD_TARGET=win64
116+
- <<: *buildsrc
117+
name: src-linux32
118+
env: BUILD_TARGET=linux32
119+
- <<: *buildsrc
120+
name: src-linux64
121+
env: BUILD_TARGET=linux64
122+
- <<: *buildsrc
123+
name: src-linux64_nowallet
124+
env: BUILD_TARGET=linux64_nowallet
125+
- <<: *buildsrc
126+
name: src-linux64_release
127+
env:
128+
- BUILD_TARGET=linux64_release
129+
- DOCKER_BUILD=true
130+
- <<: *buildsrc
131+
name: src-mac
132+
env: BUILD_TARGET=mac
133+
# run tests (no tests for arm-linux and mac)
134+
- <<: *runtests
135+
name: tests-win64
136+
env: BUILD_TARGET=win64
137+
- <<: *runtests
138+
name: tests-linux32
139+
env: BUILD_TARGET=linux32
140+
- <<: *runtests
141+
name: tests-linux64
142+
env: BUILD_TARGET=linux64
143+
- <<: *runtests
144+
name: tests-linux64_nowallet
145+
env: BUILD_TARGET=linux64_nowallet
146+
- <<: *runtests
147+
name: tests-linux64_release
148+
env:
149+
- BUILD_TARGET=linux64_release
150+
- DOCKER_BUILD=true
151+
# build docker
152+
- <<: *builddocker
153+
name: docker-linux64_release
154+
env:
155+
- BUILD_TARGET=linux64_release
156+
- DOCKER_BUILD=true
157+
158+
before_cache:
159+
# Save builder image
160+
- docker save dash-builder-$BUILD_TARGET-$TRAVIS_JOB_NUMBER $(docker history -q dash-builder-$BUILD_TARGET-$TRAVIS_JOB_NUMBER | grep -v \<missing\>) | gzip -2 > $HOME/cache/docker/dash-builder-$BUILD_TARGET.tar.gz
161+
162+
install:
163+
# Fix annoying Travis bug: a branch with a single commit has an empty TRAVIS_COMMIT_RANGE sometimes
164+
- if [ -z "$TRAVIS_COMMIT_RANGE" ]; then export TRAVIS_COMMIT_RANGE="HEAD~..HEAD"; fi
165+
# Our scripts try to be Travis agnostic
166+
- export PULL_REQUEST="$TRAVIS_PULL_REQUEST"
167+
- export COMMIT_RANGE="$TRAVIS_COMMIT_RANGE"
168+
- export JOB_NUMBER="$TRAVIS_JOB_NUMBER"
169+
- export HOST_SRC_DIR=$TRAVIS_BUILD_DIR
170+
- export HOST_CACHE_DIR=$HOME/cache
171+
- export TRAVIS_COMMIT_LOG=`git log --format=fuller -1`
172+
- source ./ci/matrix.sh
173+
- mkdir -p $HOST_CACHE_DIR/docker && mkdir -p $HOST_CACHE_DIR/ccache && mkdir -p $HOST_CACHE_DIR/depends && mkdir -p $HOST_CACHE_DIR/sdk-sources
174+
# Keep this as it makes caching related debugging easier
175+
- ls -lah $HOST_CACHE_DIR && ls -lah $HOST_CACHE_DIR/depends && ls -lah $HOST_CACHE_DIR/ccache && ls -lah $HOST_CACHE_DIR/docker
176+
# Load cached builder image
177+
- if [ -f $HOST_CACHE_DIR/docker/dash-builder-$BUILD_TARGET.tar.gz ]; then zcat $HOST_CACHE_DIR/docker/dash-builder-$BUILD_TARGET.tar.gz | docker load || true; fi
178+
- travis_retry docker pull ubuntu:bionic
179+
- travis_retry docker build -t $BUILDER_IMAGE_NAME --build-arg=USER_ID=$UID --build-arg=GROUP_ID=$UID --build-arg=BUILD_TARGET=$BUILD_TARGET -f contrib/containers/ci/Dockerfile ci
180+
before_script:
181+
# Make sure stdout is in blocking mode. Otherwise builds will fail due to large writes to stdout
182+
# See https://github.com/travis-ci/travis-ci/issues/4704. If this gets fixed, this line can also be removed.
183+
- python3 -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);'
184+
# Build docker image only for develop branch of the main repo
185+
- if [ "$TRAVIS_REPO_SLUG" != "dashpay/dash" -o "$TRAVIS_BRANCH" != "develop" -o "$TRAVIS_PULL_REQUEST" != "false" ]; then export DOCKER_BUILD="false"; echo DOCKER_BUILD=$DOCKER_BUILD; fi
186+
# TODO: Check keys and signed commits
187+
#- if [ "$TRAVIS_REPO_SLUG" = "dashpay/dash" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then while read LINE; do travis_retry gpg --keyserver hkp://subset.pool.sks-keyservers.net --recv-keys $LINE; done < contrib/verify-commits/trusted-keys; fi
188+
#- if [ "$TRAVIS_REPO_SLUG" = "dashpay/dash" -a "$TRAVIS_EVENT_TYPE" = "cron" ]; then travis_wait 30 contrib/verify-commits/verify-commits.py; fi
189+
after_script:
190+
- echo $TRAVIS_COMMIT_RANGE
191+
- echo $TRAVIS_COMMIT_LOG
192+
after_success:
193+
- if [ "$DOCKER_BUILD" = "true" ]; then docker login -u $DOCKER_HUB_USER -p $DOCKER_HUB_PASSWORD && ./ci/dash/push-docker.sh; fi
194+
- stage: lint
195+
name: 'lint'
196+
env:
197+
cache: false
198+
language: python
199+
python: '3.5' # Oldest supported version according to doc/dependencies.md
200+
install:
201+
- set -o errexit; source .travis/lint_04_install.sh
202+
before_script:
203+
- set -o errexit; source .travis/lint_05_before_script.sh
204+
script:
205+
- set -o errexit; source .travis/lint_06_script.sh
206+
207+
- stage: extended-lint
208+
name: 'extended lint [runtime >= 60 seconds]'
209+
env:
210+
cache: false
211+
language: python
212+
python: '3.5'
213+
install:
214+
- set -o errexit; source .travis/extended_lint_04_install.sh
215+
before_script:
216+
- set -o errexit; source .travis/lint_05_before_script.sh
217+
script:
218+
- set -o errexit; source .travis/extended_lint_06_script.sh
219+
220+
- stage: test
221+
name: 'ARM [GOAL: install] [no unit or functional tests]'
222+
env: >-
223+
HOST=arm-linux-gnueabihf
224+
PACKAGES="python3 g++-arm-linux-gnueabihf"
225+
RUN_UNIT_TESTS=false
226+
RUN_FUNCTIONAL_TESTS=false
227+
GOAL="install"
228+
# -Wno-psabi is to disable ABI warnings: "note: parameter passing for argument of type ... changed in GCC 7.1"
229+
# This could be removed once the ABI change warning does not show up by default
230+
BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports CXXFLAGS=-Wno-psabi"
231+
- stage: test
232+
name: 'Win64 [GOAL: deploy] [no gui or functional tests]'
233+
env: >-
234+
HOST=x86_64-w64-mingw32
235+
PACKAGES="python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64"
236+
RUN_FUNCTIONAL_TESTS=false
237+
GOAL="deploy"
238+
BITCOIN_CONFIG="--enable-reduce-exports --disable-gui-tests"
239+
240+
- stage: test
241+
name: '32-bit + dash [GOAL: install] [GUI: no BIP70]'
242+
env: >-
243+
HOST=i686-pc-linux-gnu
244+
PACKAGES="g++-multilib python3-zmq"
245+
GOAL="install"
246+
BITCOIN_CONFIG="--enable-zmq --with-gui=qt5 --disable-bip70 --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++"
247+
CONFIG_SHELL="/bin/dash"
248+
249+
- stage: test
250+
name: 'x86_64 Linux [GOAL: install] [bionic] [uses qt5 dev package instead of depends Qt to speed up build and avoid timeout] [unsigned char]'
251+
env: >-
252+
HOST=x86_64-unknown-linux-gnu
253+
PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev"
254+
DEP_OPTS="NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1"
255+
TEST_RUNNER_EXTRA="--coverage --extended --exclude feature_dbcrash" # Run extended tests so that coverage does not fail, but exclude the very slow dbcrash
256+
GOAL="install"
257+
BITCOIN_CONFIG="--enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --enable-debug CFLAGS=\"-g0 -O2 -funsigned-char\" CXXFLAGS=\"-g0 -O2 -funsigned-char\""
258+
259+
- stage: test
260+
name: 'x86_64 Linux [GOAL: install] [trusty] [depends for now]'
261+
env: >-
262+
HOST=x86_64-unknown-linux-gnu
263+
DOCKER_NAME_TAG=ubuntu:14.04
264+
PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools libicu-dev libpng-dev libssl-dev libevent-dev bsdmainutils libboost-filesystem-dev libboost-test-dev libboost-thread-dev libdb5.1++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev"
265+
RUN_FUNCTIONAL_TESTS=false
266+
GOAL="install"
267+
BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=no"
268+
269+
- stage: test
270+
name: 'x86_64 Linux [GOAL: install] [xenial] [no depends, only system libs, sanitizers: thread (TSan), no wallet]'
271+
env: >-
272+
HOST=x86_64-unknown-linux-gnu
273+
DOCKER_NAME_TAG=ubuntu:16.04
274+
PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl-dev libevent-dev bsdmainutils libboost-filesystem-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev"
275+
NO_DEPENDS=1
276+
RUN_FUNCTIONAL_TESTS=false # Disabled for now. TODO identify suppressions or exclude specific tests
277+
GOAL="install"
278+
BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=thread --disable-hardening --disable-asm CC=clang CXX=clang++"
279+
280+
- stage: test
281+
name: 'x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs, sanitizers: address/leak (ASan + LSan) + undefined (UBSan) + integer]'
282+
env: >-
283+
HOST=x86_64-unknown-linux-gnu
284+
PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl1.0-dev libevent-dev bsdmainutils libboost-filesystem-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev"
285+
NO_DEPENDS=1
286+
RUN_BENCH=true
287+
GOAL="install"
288+
BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=integer,undefined CC=clang CXX=clang++"
289+
290+
- stage: test
291+
name: 'x86_64 Linux [GOAL: install] [bionic] [no wallet]'
292+
env: >-
293+
HOST=x86_64-unknown-linux-gnu
294+
PACKAGES="clang llvm python3 libssl1.0-dev libevent-dev bsdmainutils libboost-filesystem-dev libboost-test-dev libboost-thread-dev"
295+
NO_DEPENDS=1
296+
RUN_UNIT_TESTS=false
297+
RUN_FUNCTIONAL_TESTS=false
298+
RUN_FUZZ_TESTS=true
299+
GOAL="install"
300+
BITCOIN_CONFIG="--enable-fuzz --with-sanitizers=fuzzer,address CC=clang CXX=clang++"
301+
302+
- stage: test
303+
env: >-
304+
HOST=x86_64-unknown-linux-gnu
305+
PACKAGES="python3-zmq"
306+
DEP_OPTS="NO_WALLET=1"
307+
GOAL="install"
308+
BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"
309+
310+
- stage: test
311+
name: 'macOS 10.12 [GOAL: deploy]'
312+
env: >-
313+
HOST=x86_64-apple-darwin19
314+
PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools"
315+
export XCODE_VERSION=11.3.1
316+
export XCODE_BUILD_ID=11C505
317+
RUN_UNIT_TESTS=false
318+
RUN_FUNCTIONAL_TESTS=false
319+
GOAL="deploy"
320+
BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --enable-werror"

0 commit comments

Comments
 (0)