Skip to content

Commit 53401ec

Browse files
committed
less win64 tests and artifacts
1 parent 22143b7 commit 53401ec

File tree

1 file changed

+10
-166
lines changed

1 file changed

+10
-166
lines changed

.cirrus.yml

+10-166
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,6 @@ compute_credits_template: &CREDITS_TEMPLATE
6666
# Only use credits for pull requests to the main repo
6767
use_compute_credits: $CIRRUS_REPO_FULL_NAME == 'ElementsProject/elements' && $CIRRUS_PR != ""
6868

69-
task:
70-
name: 'lint [bionic]'
71-
<< : *BASE_TEMPLATE
72-
container:
73-
image: ubuntu:bionic # For python 3.6, oldest supported version according to doc/dependencies.md
74-
cpu: 1
75-
memory: 1G
76-
# For faster CI feedback, immediately schedule the linters
77-
<< : *CREDITS_TEMPLATE
78-
lint_script:
79-
- ./ci/lint_run_all.sh
80-
env:
81-
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
82-
8369
task:
8470
name: "Win64 native [msvc]"
8571
<< : *FILTER_TEMPLATE
@@ -160,165 +146,23 @@ task:
160146
- python build_msvc\msvc-autogen.py
161147
- msbuild build_msvc\bitcoin.sln -property:Configuration=Release -maxCpuCount -verbosity:minimal -noLogo
162148
unit_tests_script:
163-
- src\test_elements.exe -l test_suite
164-
- src\bench_elements.exe > NUL
165-
- python test\util\test_runner.py
149+
# - src\test_elements.exe -l test_suite
150+
# - src\bench_elements.exe > NUL
151+
# - python test\util\test_runner.py
166152
- python test\util\rpcauth-test.py
167153
functional_tests_script:
168154
# Increase the dynamic port range to the maximum allowed value to mitigate "OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted".
169155
# See: https://docs.microsoft.com/en-us/biztalk/technical-guides/settings-that-can-be-modified-to-improve-network-performance
170156
- netsh int ipv4 set dynamicport tcp start=1025 num=64511
171157
- netsh int ipv6 set dynamicport tcp start=1025 num=64511
158+
- mkdir artifactsdir
172159
# Exclude feature_dbcrash for now due to timeout
173160
# Exclude also wallet_avoidreuse due to timeout
174161
# Ignore failures for now, need to investigate but we really don't use native win64 builds
175-
- python test\functional\test_runner.py --nocleanup --ci --quiet --combinedlogslen=4000 --jobs=4 --timeout-factor=8 --extended --exclude feature_dbcrash,wallet_avoidreuse || true
176-
177-
task:
178-
name: 'ARM [unit tests, no functional tests] [bullseye]'
179-
<< : *GLOBAL_TASK_TEMPLATE
180-
container:
181-
image: debian:bullseye
182-
docker_arguments:
183-
CI_IMAGE_NAME_TAG: debian:bullseye
184-
<< : *CREDITS_TEMPLATE
185-
env:
186-
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
187-
FILE_ENV: "./ci/test/00_setup_env_arm.sh"
188-
189-
task:
190-
name: 'Win64 [unit tests, no gui tests, no boost::process, no functional tests] [jammy]'
191-
<< : *GLOBAL_TASK_TEMPLATE
192-
container:
193-
image: ubuntu:jammy
194-
env:
195-
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
196-
FILE_ENV: "./ci/test/00_setup_env_win64.sh"
197-
198-
task:
199-
name: '32-bit + dash [gui] [Rocky 8]'
200-
<< : *GLOBAL_TASK_TEMPLATE
201-
container:
202-
image: quay.io/rockylinux/rockylinux:8
203-
env:
204-
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
205-
PACKAGE_MANAGER_INSTALL: "yum install -y"
206-
FILE_ENV: "./ci/test/00_setup_env_i686_centos.sh"
207-
208-
task:
209-
name: '[previous releases, uses qt5 dev package and some depends packages, DEBUG] [unsigned char] [bionic]'
210-
previous_releases_cache:
211-
folder: "releases"
212-
<< : *GLOBAL_TASK_TEMPLATE
213-
<< : *PERSISTENT_WORKER_TEMPLATE
214-
env:
215-
<< : *PERSISTENT_WORKER_TEMPLATE_ENV
216-
FILE_ENV: "./ci/test/00_setup_env_native_qt5.sh"
217-
218-
task:
219-
name: '[TSan, depends, gui] [2404]'
220-
<< : *GLOBAL_TASK_TEMPLATE
221-
container:
222-
image: ubuntu:24.04
223-
cpu: 6 # Increase CPU and Memory to avoid timeout
224-
memory: 24G
225-
env:
226-
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
227-
FILE_ENV: "./ci/test/00_setup_env_native_tsan.sh"
228-
MAKEJOBS: "-j2" # Avoid excessive memory use due to MSan
229-
230-
task:
231-
name: '[MSan, depends] [focal]'
232-
<< : *GLOBAL_TASK_TEMPLATE
233-
container:
234-
image: ubuntu:focal
235-
env:
236-
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
237-
FILE_ENV: "./ci/test/00_setup_env_native_msan.sh"
238-
239-
task:
240-
name: '[ASan + LSan + UBSan + integer, no depends] [jammy]'
241-
<< : *GLOBAL_TASK_TEMPLATE
242-
container:
243-
image: ubuntu:jammy
244-
memory: 16G # ELEMENTS: need more memory
245-
cpu: 4 # ELEMENTS: cirrus wants more CPUs if you want more memory
246-
env:
247-
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
248-
FILE_ENV: "./ci/test/00_setup_env_native_asan.sh"
249-
250-
task:
251-
name: '[fuzzer,address,undefined,integer, no depends] [jammy]'
252-
<< : *GLOBAL_TASK_TEMPLATE
253-
container:
254-
image: ubuntu:jammy
255-
cpu: 8 # Increase CPU and memory to avoid timeout
256-
memory: 16G
257-
env:
258-
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
259-
FILE_ENV: "./ci/test/00_setup_env_native_fuzz.sh"
162+
- python test\functional\test_runner.py --tmpdirprefix=artifactsdir/ --ci --quiet --combinedlogslen=4000 --jobs=4 --timeout-factor=8 feature_block_v4 feature_trim_headers || true
163+
artifacts:
164+
paths:
165+
- artifactsdir/**/*.log
166+
- artifactsdir/**/tmp*
167+
- artifactsdir/**/*.conf
260168

261-
task:
262-
name: '[multiprocess, i686, DEBUG] [focal]'
263-
# Disable for Elements for now; Multiprocess build is not supported or tested and fails CI.
264-
only_if: false
265-
<< : *GLOBAL_TASK_TEMPLATE
266-
container:
267-
image: ubuntu:focal
268-
cpu: 4
269-
memory: 16G # The default memory is sometimes just a bit too small, so double everything
270-
env:
271-
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
272-
FILE_ENV: "./ci/test/00_setup_env_i686_multiprocess.sh"
273-
274-
task:
275-
name: '[no wallet, libbitcoinkernel] [bionic]'
276-
<< : *GLOBAL_TASK_TEMPLATE
277-
container:
278-
image: ubuntu:bionic
279-
env:
280-
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
281-
FILE_ENV: "./ci/test/00_setup_env_native_nowallet_libbitcoinkernel.sh"
282-
283-
task:
284-
name: 'macOS 10.15 [gui, no tests] [focal]'
285-
<< : *BASE_TEMPLATE
286-
macos_sdk_cache:
287-
folder: "depends/SDKs/$MACOS_SDK"
288-
fingerprint_key: "$MACOS_SDK"
289-
<< : *MAIN_TEMPLATE
290-
container:
291-
image: ubuntu:focal
292-
env:
293-
MACOS_SDK: "Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers"
294-
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
295-
FILE_ENV: "./ci/test/00_setup_env_mac.sh"
296-
297-
task:
298-
name: 'macOS 13 native arm64 [gui, sqlite only] [no depends]'
299-
macos_instance:
300-
# Use latest image, but hardcode version to avoid silent upgrades (and breaks)
301-
image: ghcr.io/cirruslabs/macos-ventura-xcode:14.1 # https://cirrus-ci.org/guide/macOS
302-
<< : *MACOS_NATIVE_TASK_TEMPLATE
303-
env:
304-
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
305-
CI_USE_APT_INSTALL: "no"
306-
PACKAGE_MANAGER_INSTALL: "echo" # Nothing to do
307-
FILE_ENV: "./ci/test/00_setup_env_mac_native_arm64.sh"
308-
309-
task:
310-
name: 'ARM64 Android APK [focal]'
311-
# Disable for Elements; Android build is broken and unsupported.
312-
only_if: false
313-
android_sdk_cache:
314-
folder: "depends/SDKs/android"
315-
fingerprint_key: "ANDROID_API_LEVEL=28 ANDROID_BUILD_TOOLS_VERSION=28.0.3 ANDROID_NDK_VERSION=23.1.7779620"
316-
depends_sources_cache:
317-
folder: "depends/sources"
318-
fingerprint_script: git rev-list -1 HEAD ./depends
319-
<< : *MAIN_TEMPLATE
320-
container:
321-
image: ubuntu:focal
322-
env:
323-
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
324-
FILE_ENV: "./ci/test/00_setup_env_android.sh"

0 commit comments

Comments
 (0)