1
1
env : # Global defaults
2
2
PACKAGE_MANAGER_INSTALL : " apt-get update && apt-get install -y"
3
- MAKEJOBS : " -j4 "
3
+ MAKEJOBS : " -j10 "
4
4
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
5
5
CCACHE_SIZE : " 200M"
6
6
CCACHE_DIR : " /tmp/ccache_dir"
@@ -38,6 +38,7 @@ main_template: &MAIN_TEMPLATE
38
38
# https://cirrus-ci.org/faq/#are-there-any-limits
39
39
# Each project has 16 CPU in total, assign 2 to each container, so that 8 tasks run in parallel
40
40
cpu : 2
41
+ greedy : true
41
42
memory : 8G # Set to 8GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-containers
42
43
ccache_cache :
43
44
folder : " /tmp/ccache_dir"
@@ -212,7 +213,6 @@ task:
212
213
memory : 24G
213
214
env :
214
215
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
215
- MAKEJOBS : " -j8"
216
216
FILE_ENV : " ./ci/test/00_setup_env_native_tsan.sh"
217
217
218
218
task :
@@ -223,6 +223,7 @@ task:
223
223
env :
224
224
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
225
225
FILE_ENV : " ./ci/test/00_setup_env_native_msan.sh"
226
+ MAKEJOBS : " -j4" # Avoid excessive memory use due to MSan
226
227
227
228
task :
228
229
name : ' [ASan + LSan + UBSan + integer, no depends] [jammy]'
@@ -232,6 +233,7 @@ task:
232
233
env :
233
234
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
234
235
FILE_ENV : " ./ci/test/00_setup_env_native_asan.sh"
236
+ MAKEJOBS : " -j4" # Avoid excessive memory use
235
237
236
238
task :
237
239
name : ' [fuzzer,address,undefined,integer, no depends] [focal]'
@@ -243,7 +245,6 @@ task:
243
245
memory : 16G
244
246
env :
245
247
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
246
- MAKEJOBS : " -j8"
247
248
FILE_ENV : " ./ci/test/00_setup_env_native_fuzz.sh"
248
249
249
250
task :
@@ -255,7 +256,6 @@ task:
255
256
memory : 16G # The default memory is sometimes just a bit too small, so double everything
256
257
env :
257
258
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
258
- MAKEJOBS : " -j8"
259
259
FILE_ENV : " ./ci/test/00_setup_env_i686_multiprocess.sh"
260
260
261
261
task :
0 commit comments