Skip to content

Commit 8c9c5c5

Browse files
committed
CI: tweak cirrus.yml to prevent OOM and timeout w sanitizer/valgrind
1 parent 59d17ab commit 8c9c5c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.cirrus.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ task:
291291
container:
292292
dockerfile: ci/linux-debian.Dockerfile
293293
cpu: 1
294-
memory: 1G
294+
memory: 2G
295295
env:
296296
ECDH: yes
297297
RECOVERY: yes
@@ -310,15 +310,15 @@ task:
310310
env:
311311
# The `--error-exitcode` is required to make the test fail if valgrind found errors, otherwise it'll return 0 (https://www.valgrind.org/docs/manual/manual-core.html)
312312
WRAPPER_CMD: "valgrind --error-exitcode=42"
313-
TEST_ITERS: 16
313+
TEST_ITERS: 4
314314
- name: "UBSan, ASan, LSan"
315315
env:
316316
CFLAGS: "-fsanitize=undefined,address"
317317
CFLAGS_FOR_BUILD: "-fsanitize=undefined,address"
318318
UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1"
319319
ASAN_OPTIONS: "strict_string_checks=1:detect_stack_use_after_return=1:detect_leaks=1"
320320
LSAN_OPTIONS: "use_unaligned=1"
321-
TEST_ITERS: 32
321+
TEST_ITERS: 16
322322
# Try to cover many configurations with just a tiny matrix.
323323
matrix:
324324
- env:

0 commit comments

Comments
 (0)