Skip to content

Commit

Permalink
CI: tweak cirrus.yml to prevent OOM and timeout w sanitizer/valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasnick committed Jul 13, 2021
1 parent 7226cf2 commit f09497e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,11 @@ task:

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

0 comments on commit f09497e

Please sign in to comment.