fix(ci)_: move nim cache to workspace tmp folder
An error has shown that Nim compilation uses cache folder in `jenkins` home: ``` clang: error: no such file or directory: '/Users/jenkins/.cache/nim/nimsuggest_r/@m..@slib@swrappers@slinenoise@slinenoise.c.o' ``` This is a bad idea as parallel CI builds can result in very bizzarre bugs. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
206bc79ab4
commit
3e4e3591cd
|
@ -35,7 +35,7 @@ pipeline {
|
||||||
string(
|
string(
|
||||||
name: 'NIMFLAGS',
|
name: 'NIMFLAGS',
|
||||||
description: 'Extra Nim flags. Examples: --verbosity:2 --passL:"-v" --passC:"-v"',
|
description: 'Extra Nim flags. Examples: --verbosity:2 --passL:"-v" --passC:"-v"',
|
||||||
defaultValue: '--colors:off'
|
defaultValue: "--colors:off --nimcache:${env.WORKSPACE_TMP}/nimcache"
|
||||||
)
|
)
|
||||||
booleanParam(
|
booleanParam(
|
||||||
name: 'USE_MOCKED_KEYCARD_LIB',
|
name: 'USE_MOCKED_KEYCARD_LIB',
|
||||||
|
|
|
@ -27,7 +27,7 @@ pipeline {
|
||||||
string(
|
string(
|
||||||
name: 'NIMFLAGS',
|
name: 'NIMFLAGS',
|
||||||
description: 'Extra Nim flags. Examples: --verbosity:2 --passL:"-v" --passC:"-v"',
|
description: 'Extra Nim flags. Examples: --verbosity:2 --passL:"-v" --passC:"-v"',
|
||||||
defaultValue: '--colors:off'
|
defaultValue: "--colors:off --nimcache:${env.WORKSPACE_TMP}/nimcache"
|
||||||
)
|
)
|
||||||
booleanParam(
|
booleanParam(
|
||||||
name: 'USE_MOCKED_KEYCARD_LIB',
|
name: 'USE_MOCKED_KEYCARD_LIB',
|
||||||
|
|
|
@ -29,7 +29,7 @@ pipeline {
|
||||||
string(
|
string(
|
||||||
name: 'NIMFLAGS',
|
name: 'NIMFLAGS',
|
||||||
description: 'Extra Nim flags. Examples: --verbosity:2 --passL:"-v" --passC:"-v"',
|
description: 'Extra Nim flags. Examples: --verbosity:2 --passL:"-v" --passC:"-v"',
|
||||||
defaultValue: '--colors:off'
|
defaultValue: "--colors:off --nimcache:${env.WORKSPACE_TMP}/nimcache"
|
||||||
)
|
)
|
||||||
booleanParam(
|
booleanParam(
|
||||||
name: 'USE_MOCKED_KEYCARD_LIB',
|
name: 'USE_MOCKED_KEYCARD_LIB',
|
||||||
|
|
|
@ -26,7 +26,7 @@ pipeline {
|
||||||
string(
|
string(
|
||||||
name: 'NIMFLAGS',
|
name: 'NIMFLAGS',
|
||||||
description: 'Extra Nim flags. Examples: --verbosity:2 --passL:"-v" --passC:"-v"',
|
description: 'Extra Nim flags. Examples: --verbosity:2 --passL:"-v" --passC:"-v"',
|
||||||
defaultValue: '--colors:off'
|
defaultValue: "--colors:off --nimcache:${env.WORKSPACE_TMP}/nimcache"
|
||||||
)
|
)
|
||||||
booleanParam(
|
booleanParam(
|
||||||
name: 'USE_MOCKED_KEYCARD_LIB',
|
name: 'USE_MOCKED_KEYCARD_LIB',
|
||||||
|
|
Loading…
Reference in New Issue