CI: tweak cirrus.yml to prevent OOM and timeout w sanitizer/valgrind

This commit is contained in:
Jonas Nick 2021-06-15 11:42:58 +00:00
parent 7226cf215a
commit f09497ea3e

View File

@ -288,10 +288,11 @@ task:
# Sanitizers # Sanitizers
task: task:
timeout_in: 120m
container: container:
dockerfile: ci/linux-debian.Dockerfile dockerfile: ci/linux-debian.Dockerfile
cpu: 1 cpu: 1
memory: 1G memory: 2G
env: env:
ECDH: yes ECDH: yes
RECOVERY: yes RECOVERY: yes
@ -310,7 +311,7 @@ task:
env: env:
# 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) # 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)
WRAPPER_CMD: "valgrind --error-exitcode=42" WRAPPER_CMD: "valgrind --error-exitcode=42"
TEST_ITERS: 16 TEST_ITERS: 8
- name: "UBSan, ASan, LSan" - name: "UBSan, ASan, LSan"
env: env:
CFLAGS: "-fsanitize=undefined,address" CFLAGS: "-fsanitize=undefined,address"