mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
ci: reduce secp test iterations from default 64 to 16
The reduced secp iterations should prevent test timeouts on arm. Also reduce MAKEJOBS to avoid OOM/load failures in other jobs.
This commit is contained in:
parent
68bfd70b43
commit
79bab21c58
1 changed files with 3 additions and 2 deletions
|
|
@ -8,8 +8,9 @@ container:
|
|||
memory: 8G # Set to 8GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-containers
|
||||
kvm: true # Use kvm to avoid spurious CI failures in the default virtualization cluster, see https://github.com/bitcoin/bitcoin/issues/20093
|
||||
env:
|
||||
SECP256K1_TEST_ITERS: 16 # ELEMENTS: avoid test timeouts on arm
|
||||
PACKAGE_MANAGER_INSTALL: "apt-get update && apt-get install -y"
|
||||
MAKEJOBS: "-j4"
|
||||
MAKEJOBS: "-j3" # ELEMENTS: reduced from j4
|
||||
DANGER_RUN_CI_ON_HOST: "1" # Containers will be discarded after the run, so there is no risk that the ci scripts modify the system
|
||||
TEST_RUNNER_PORT_MIN: "14000" # Must be larger than 12321, which is used for the http cache. See https://cirrus-ci.org/guide/writing-tasks/#http-cache
|
||||
CCACHE_SIZE: "200M"
|
||||
|
|
@ -86,7 +87,7 @@ task:
|
|||
cpu: 4 # Double CPU and Memory to avoid timeout
|
||||
memory: 16G
|
||||
env:
|
||||
MAKEJOBS: "-j8"
|
||||
MAKEJOBS: "-j6" # ELEMENTS: reduced from -j8
|
||||
FILE_ENV: "./ci/test/00_setup_env_native_tsan.sh"
|
||||
|
||||
task:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue