@@ -91,101 +91,49 @@ jobs:
91
91
- stage : test
92
92
name : ' ARM [GOAL: install] [no unit or functional tests]'
93
93
env : >-
94
- HOST=arm-linux-gnueabihf
95
- PACKAGES="python3 g++-arm-linux-gnueabihf"
96
- RUN_UNIT_TESTS=false
97
- RUN_FUNCTIONAL_TESTS=false
98
- GOAL="install"
99
- # -Wno-psabi is to disable ABI warnings: "note: parameter passing for argument of type ... changed in GCC 7.1"
100
- # This could be removed once the ABI change warning does not show up by default
101
- BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports CXXFLAGS=-Wno-psabi"
94
+ FILE_ENV="./ci/test/00_setup_env_arm.sh"
102
95
103
96
- stage : test
104
97
name : ' Win64 [GOAL: deploy] [no gui or functional tests]'
105
98
env : >-
106
- HOST=x86_64-w64-mingw32
107
- PACKAGES="python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64"
108
- RUN_FUNCTIONAL_TESTS=false
109
- GOAL="deploy"
110
- BITCOIN_CONFIG="--enable-reduce-exports --disable-gui-tests"
99
+ FILE_ENV="./ci/test/00_setup_env_win64.sh"
111
100
112
101
- stage : test
113
102
name : ' 32-bit + dash [GOAL: install] [GUI: no BIP70]'
114
103
env : >-
115
- HOST=i686-pc-linux-gnu
116
- PACKAGES="g++-multilib python3-zmq"
117
- GOAL="install"
118
- BITCOIN_CONFIG="--enable-zmq --with-gui=qt5 --disable-bip70 --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++"
119
- CONFIG_SHELL="/bin/dash"
104
+ FILE_ENV="./ci/test/00_setup_env_i686.sh"
120
105
121
106
- stage : test
122
107
name : ' x86_64 Linux [GOAL: install] [bionic] [uses qt5 dev package instead of depends Qt to speed up build and avoid timeout] [unsigned char]'
123
108
env : >-
124
- HOST=x86_64-unknown-linux-gnu
125
- PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev"
126
- DEP_OPTS="NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1"
127
- TEST_RUNNER_EXTRA="--coverage --extended --exclude feature_dbcrash" # Run extended tests so that coverage does not fail, but exclude the very slow dbcrash
128
- GOAL="install"
129
- 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\""
109
+ FILE_ENV="./ci/test/00_setup_env_amd64_qt5.sh"
130
110
131
111
- stage : test
132
112
name : ' x86_64 Linux [GOAL: install] [trusty] [no functional tests, no depends, only system libs]'
133
113
env : >-
134
- HOST=x86_64-unknown-linux-gnu
135
- DOCKER_NAME_TAG=ubuntu:14.04
136
- 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 libprotobuf-dev protobuf-compiler libqrencode-dev"
137
- NO_DEPENDS=1
138
- RUN_FUNCTIONAL_TESTS=false
139
- GOAL="install"
140
- BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=no"
114
+ FILE_ENV="./ci/test/00_setup_env_amd64_trusty.sh"
141
115
142
116
- stage : test
143
117
name : ' x86_64 Linux [GOAL: install] [xenial] [no depends, only system libs, sanitizers: thread (TSan), no wallet]'
144
118
env : >-
145
- HOST=x86_64-unknown-linux-gnu
146
- DOCKER_NAME_TAG=ubuntu:16.04
147
- 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 libprotobuf-dev protobuf-compiler libqrencode-dev"
148
- NO_DEPENDS=1
149
- GOAL="install"
150
- BITCOIN_CONFIG="--enable-zmq --disable-wallet --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=thread --disable-hardening --disable-asm CC=clang CXX=clang++"
119
+ FILE_ENV="./ci/test/00_setup_env_amd64_tsan.sh"
151
120
152
121
- stage : test
153
122
name : ' x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs, sanitizers: address/leak (ASan + LSan) + undefined (UBSan) + integer]'
154
123
env : >-
155
- HOST=x86_64-unknown-linux-gnu
156
- 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 libprotobuf-dev protobuf-compiler libqrencode-dev"
157
- NO_DEPENDS=1
158
- GOAL="install"
159
- BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=address,integer,undefined CC=clang CXX=clang++"
124
+ FILE_ENV="./ci/test/00_setup_env_amd64_asan.sh"
160
125
161
126
- stage : test
162
127
name : ' x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs, sanitizers: fuzzer,address]'
163
128
env : >-
164
- HOST=x86_64-unknown-linux-gnu
165
- 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"
166
- NO_DEPENDS=1
167
- RUN_UNIT_TESTS=false
168
- RUN_FUNCTIONAL_TESTS=false
169
- RUN_FUZZ_TESTS=true
170
- GOAL="install"
171
- BITCOIN_CONFIG="--enable-fuzz --with-sanitizers=fuzzer,address CC=clang CXX=clang++"
129
+ FILE_ENV="./ci/test/00_setup_env_amd64_fuzz.sh"
172
130
173
131
- stage : test
174
132
name : ' x86_64 Linux [GOAL: install] [bionic] [no wallet]'
175
133
env : >-
176
- HOST=x86_64-unknown-linux-gnu
177
- PACKAGES="python3-zmq"
178
- DEP_OPTS="NO_WALLET=1"
179
- GOAL="install"
180
- BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"
134
+ FILE_ENV="./ci/test/00_setup_env_amd64_nowallet.sh"
181
135
182
136
- stage : test
183
137
name : ' macOS 10.10 [GOAL: deploy] [no functional tests]'
184
138
env : >-
185
- HOST=x86_64-apple-darwin14
186
- PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools"
187
- OSX_SDK=10.11
188
- RUN_UNIT_TESTS=false
189
- RUN_FUNCTIONAL_TESTS=false
190
- GOAL="deploy"
191
- BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --enable-werror"
139
+ FILE_ENV="./ci/test/00_setup_env_mac.sh"
0 commit comments