From fa41810d0e87f9f9a2e39be238b9598be02646d0 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Mon, 17 Aug 2020 11:57:26 +0200 Subject: [PATCH 1/2] ci: Run valgrind fuzzer on cirrus --- .cirrus.yml | 8 ++++++++ .travis.yml | 5 ----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 446d3e35a..9c590b430 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -66,3 +66,11 @@ task: image: ubuntu:focal env: 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" diff --git a/.travis.yml b/.travis.yml index f1cee7133..8f8fba310 100644 --- a/.travis.yml +++ b/.travis.yml @@ -109,11 +109,6 @@ jobs: env: >- FILE_ENV="./ci/test/00_setup_env_native_multiprocess.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 name: 'x86_64 Linux [GOAL: install] [xenial] [no wallet]' env: >- From fa0538e94db26dd84e02aac1cf174b79729dae72 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Mon, 17 Aug 2020 11:54:06 +0200 Subject: [PATCH 2/2] ci: Set cirrus RAM to 8GB --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 9c590b430..33bf43d4b 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -5,7 +5,7 @@ container: # 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 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: PACKAGE_MANAGER_INSTALL : "apt-get update && apt-get install -y" MAKEJOBS: "-j4"