Merge #19746: ci: Move valgrind fuzzer to cirrus

fa0538e94db26dd84e02aac1cf174b79729dae72 ci: Set cirrus RAM to 8GB (MarcoFalke)
fa41810d0e87f9f9a2e39be238b9598be02646d0 ci: Run valgrind fuzzer on cirrus (MarcoFalke)

Pull request description:

  The first commit should fix the 50min timeout in forked repos. Similar to #19424. E.g. https://travis-ci.org/github/bitcoin-core/gui/builds/718322267

  The second commit should fix #19744

Top commit has no ACKs.

Tree-SHA512: c765098dfa913ca49b1d1eee99aaa83e4b9eb191b7ad5e652e3f04744fe8670dd3ef4215832b8e2b5bac0273d24f607fc275e72f566326108ba42ab57228ffd4
This commit is contained in:
MarcoFalke 2020-08-19 10:12:46 +02:00 committed by pasta
parent 0e90ea8fff
commit d799f51642
No known key found for this signature in database
GPG Key ID: 52527BEDABE87984
2 changed files with 9 additions and 6 deletions

View File

@ -5,7 +5,7 @@ container:
# https://cirrus-ci.org/faq/#are-there-any-limits # https://cirrus-ci.org/faq/#are-there-any-limits
# Each project has 16 CPU in total, assign 2 to each container, so that 8 tasks run in parallel # Each project has 16 CPU in total, assign 2 to each container, so that 8 tasks run in parallel
cpu: 2 cpu: 2
memory: 6G # https://cirrus-ci.org/guide/linux/#linux-containers memory: 8G # Set to 8GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-containers
env: env:
PACKAGE_MANAGER_INSTALL : "apt-get update && apt-get install -y" PACKAGE_MANAGER_INSTALL : "apt-get update && apt-get install -y"
MAKEJOBS: "-j4" MAKEJOBS: "-j4"
@ -51,3 +51,11 @@ task:
image: ubuntu:focal image: ubuntu:focal
env: env:
FILE_ENV: "./ci/test/00_setup_env_native_asan.sh" FILE_ENV: "./ci/test/00_setup_env_native_asan.sh"
task:
name: 'x86_64 Linux [GOAL: install] [focal] [no depends, only system libs, fuzzers under valgrind]'
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:focal
env:
FILE_ENV: "./ci/test/00_setup_env_native_fuzz_with_valgrind.sh"

View File

@ -215,11 +215,6 @@ after_success:
env: >- env: >-
FILE_ENV="./ci/test/00_setup_env_native_fuzz.sh" FILE_ENV="./ci/test/00_setup_env_native_fuzz.sh"
- stage: test
name: 'x86_64 Linux [GOAL: install] [focal] [no depends, only system libs, fuzzers under valgrind]'
env: >-
FILE_ENV="./ci/test/00_setup_env_native_fuzz_with_valgrind.sh"
- stage: test - stage: test
name: 'x86_64 Linux [GOAL: install] [focal] [multiprocess]' name: 'x86_64 Linux [GOAL: install] [focal] [multiprocess]'
env: >- env: >-