Skip to content

Commit e541e5d

Browse files
Merge pull request #5372 from kittywhiskers/ci_prep
ci: drop i686 builds, temporarily enable glibc backwards compatibility for most CI builds
2 parents cb907a1 + 772ec4c commit e541e5d

25 files changed

+92
-119
lines changed

.gitlab-ci.yml

Lines changed: 18 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,6 @@ x86_64-w64-mingw32:
173173
variables:
174174
HOST: x86_64-w64-mingw32
175175

176-
i686-pc-linux-gnu:
177-
extends:
178-
- .build-depends-template
179-
- .skip-in-fast-mode-template
180-
variables:
181-
HOST: i686-pc-linux-gnu
182-
183176
x86_64-pc-linux-gnu-debug:
184177
extends: .build-depends-template
185178
variables:
@@ -219,24 +212,6 @@ win64-build:
219212
variables:
220213
BUILD_TARGET: win64
221214

222-
linux32-build:
223-
extends:
224-
- .build-template
225-
- .skip-in-fast-mode-template
226-
needs:
227-
- i686-pc-linux-gnu
228-
variables:
229-
BUILD_TARGET: linux32
230-
231-
linux32_ubsan-build:
232-
extends:
233-
- .build-template
234-
- .skip-in-fast-mode-template
235-
needs:
236-
- i686-pc-linux-gnu
237-
variables:
238-
BUILD_TARGET: linux32_ubsan
239-
240215
linux64-build:
241216
extends: .build-template
242217
needs:
@@ -280,6 +255,15 @@ linux64_tsan-build:
280255
variables:
281256
BUILD_TARGET: linux64_tsan
282257

258+
linux64_ubsan-build:
259+
extends:
260+
- .build-template
261+
- .skip-in-fast-mode-template
262+
needs:
263+
- x86_64-pc-linux-gnu-debug
264+
variables:
265+
BUILD_TARGET: linux64_ubsan
266+
283267
linux64_nowallet-build:
284268
extends:
285269
- .build-template
@@ -300,24 +284,6 @@ mac-build:
300284

301285
###
302286

303-
linux32-test:
304-
extends:
305-
- .test-template
306-
- .skip-in-fast-mode-template
307-
needs:
308-
- linux32-build
309-
variables:
310-
BUILD_TARGET: linux32
311-
312-
linux32_ubsan-test:
313-
extends:
314-
- .test-template
315-
- .skip-in-fast-mode-template
316-
needs:
317-
- linux32_ubsan-build
318-
variables:
319-
BUILD_TARGET: linux32_ubsan
320-
321287
linux64-test:
322288
extends: .test-template
323289
needs:
@@ -342,3 +308,12 @@ linux64_tsan-test:
342308
- linux64_tsan-build
343309
variables:
344310
BUILD_TARGET: linux64_tsan
311+
312+
linux64_ubsan-test:
313+
extends:
314+
- .test-template
315+
- .skip-in-fast-mode-template
316+
needs:
317+
- linux64_ubsan-build
318+
variables:
319+
BUILD_TARGET: linux64_ubsan

.travis.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ jobs:
9797
- <<: *builddepends
9898
name: depends-win64
9999
env: BUILD_TARGET=win64
100-
- <<: *builddepends
101-
name: depends-linux32
102-
env: BUILD_TARGET=linux32
103100
- <<: *builddepends
104101
name: depends-linux64
105102
env: BUILD_TARGET=linux64
@@ -121,9 +118,6 @@ jobs:
121118
- <<: *buildsrc
122119
name: src-win64
123120
env: BUILD_TARGET=win64
124-
- <<: *buildsrc
125-
name: src-linux32
126-
env: BUILD_TARGET=linux32
127121
- <<: *buildsrc
128122
name: src-linux64
129123
env: BUILD_TARGET=linux64
@@ -142,9 +136,6 @@ jobs:
142136
- <<: *runtests
143137
name: tests-win64
144138
env: BUILD_TARGET=win64
145-
- <<: *runtests
146-
name: tests-linux32
147-
env: BUILD_TARGET=linux32
148139
- <<: *runtests
149140
name: tests-linux64
150141
env: BUILD_TARGET=linux64
@@ -233,11 +224,6 @@ after_success:
233224
env: >-
234225
FILE_ENV="./ci/test/00_setup_env_win64.sh"
235226
236-
- stage: test
237-
name: '32-bit + dash [GOAL: install] [CentOS 7] [GUI]'
238-
env: >-
239-
FILE_ENV="./ci/test/00_setup_env_i686_centos.sh"
240-
241227
- stage: test
242228
name: 'x86_64 Linux [GOAL: install] [focal] [uses qt5 dev package instead of depends Qt to speed up build and avoid timeout] [unsigned char]'
243229
env: >-

ci/dash/build_src.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,7 @@ cd dashcore-$BUILD_TARGET
5555
./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)
5656

5757
make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make $GOAL V=1 ; false )
58-
make $MAKEJOBS -C src check-symbols
58+
59+
if [ "$RUN_SYMBOL_TESTS" = "true" ]; then
60+
make $MAKEJOBS -C src check-symbols
61+
fi

ci/dash/matrix.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,12 @@ if [ "$BUILD_TARGET" = "arm-linux" ]; then
1818
source ./ci/test/00_setup_env_arm.sh
1919
elif [ "$BUILD_TARGET" = "win64" ]; then
2020
source ./ci/test/00_setup_env_win64.sh
21-
elif [ "$BUILD_TARGET" = "linux32" ]; then
22-
source ./ci/test/00_setup_env_i686_centos.sh
23-
elif [ "$BUILD_TARGET" = "linux32_ubsan" ]; then
24-
source ./ci/test/00_setup_env_i686_ubsan.sh
2521
elif [ "$BUILD_TARGET" = "linux64" ]; then
2622
source ./ci/test/00_setup_env_native_qt5.sh
2723
elif [ "$BUILD_TARGET" = "linux64_tsan" ]; then
2824
source ./ci/test/00_setup_env_native_tsan.sh
25+
elif [ "$BUILD_TARGET" = "linux64_ubsan" ]; then
26+
source ./ci/test/00_setup_env_native_ubsan.sh
2927
elif [ "$BUILD_TARGET" = "linux64_fuzz" ]; then
3028
source ./ci/test/00_setup_env_native_fuzz.sh
3129
elif [ "$BUILD_TARGET" = "linux64_cxx20" ]; then

ci/test/00_setup_env.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export USE_BUSY_BOX=${USE_BUSY_BOX:-false}
3939
export RUN_UNIT_TESTS=${RUN_UNIT_TESTS:-true}
4040
export RUN_INTEGRATION_TESTS=${RUN_INTEGRATION_TESTS:-true}
4141
export RUN_FUZZ_TESTS=${RUN_FUZZ_TESTS:-false}
42+
export RUN_SYMBOL_TESTS=${RUN_SYMBOL_TESTS:-true}
4243
export CONTAINER_NAME=${CONTAINER_NAME:-ci_unnamed}
4344
export DOCKER_NAME_TAG=${DOCKER_NAME_TAG:-ubuntu:focal}
4445
# Randomize test order.

ci/test/00_setup_env_arm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ export RUN_INTEGRATION_TESTS=false
2626
export GOAL="install"
2727
# -Wno-psabi is to disable ABI warnings: "note: parameter passing for argument of type ... changed in GCC 7.1"
2828
# This could be removed once the ABI change warning does not show up by default
29-
export BITCOIN_CONFIG="--enable-reduce-exports --enable-suppress-external-warnings --enable-werror CXXFLAGS=-Wno-psabi"
29+
export BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports --enable-suppress-external-warnings --enable-werror CXXFLAGS=-Wno-psabi"

ci/test/00_setup_env_i686_centos.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

ci/test/00_setup_env_i686_ubsan.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

ci/test/00_setup_env_native_cxx20.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ export CPPFLAGS="-DDEBUG_LOCKORDER -DENABLE_DASH_DEBUG -DARENA_DEBUG"
1313
export PYZMQ=true
1414
export RUN_INTEGRATION_TESTS=false
1515
export GOAL="install"
16-
export BITCOIN_CONFIG="--enable-zmq --enable-reduce-exports --enable-crash-hooks --enable-c++20 --enable-suppress-external-warnings --enable-werror"
16+
export BITCOIN_CONFIG="--enable-glibc-back-compat --enable-zmq --enable-reduce-exports --enable-crash-hooks --enable-c++20 --enable-suppress-external-warnings --enable-werror"
1717

ci/test/00_setup_env_native_fuzz.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ export RUN_UNIT_TESTS=false
1616
export RUN_INTEGRATION_TESTS=false
1717
export RUN_FUZZ_TESTS=true
1818
export GOAL="install"
19-
export BITCOIN_CONFIG="--enable-zmq --disable-ccache --enable-fuzz --with-sanitizers=fuzzer,address,undefined --enable-c++17 CC=clang CXX=clang++"
19+
export BITCOIN_CONFIG="--enable-glibc-back-compat --enable-zmq --disable-ccache --enable-fuzz --with-sanitizers=fuzzer,address,undefined --enable-c++17 CC=clang CXX=clang++"

0 commit comments

Comments
 (0)