feat(ci): add USE_MOCKED_KEYCARD_LIB parameter
It will default to `true` for Linux builds except release ones. This setting can always be overriden manually for any build. Resolves: https://github.com/status-im/status-desktop/issues/12412 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
ac935b00d7
commit
2c5eeea503
|
@ -31,6 +31,11 @@ pipeline {
|
||||||
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'
|
||||||
)
|
)
|
||||||
|
booleanParam(
|
||||||
|
name: 'USE_MOCKED_KEYCARD_LIB',
|
||||||
|
description: 'Decides whether the mocked status-keycard-go library is built.',
|
||||||
|
defaultValue: getMockedKeycardLibDefault()
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
|
@ -114,3 +119,7 @@ def getArch() {
|
||||||
if (tokens.contains(arch)) { return arch }
|
if (tokens.contains(arch)) { return arch }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def getMockedKeycardLibDefault() {
|
||||||
|
return utils.isReleaseBuild() ? 'false' : 'true'
|
||||||
|
}
|
||||||
|
|
|
@ -26,6 +26,11 @@ pipeline {
|
||||||
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'
|
||||||
)
|
)
|
||||||
|
booleanParam(
|
||||||
|
name: 'USE_MOCKED_KEYCARD_LIB',
|
||||||
|
description: 'Decides whether the mocked status-keycard-go library is built.',
|
||||||
|
defaultValue: false
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
|
|
|
@ -23,6 +23,11 @@ pipeline {
|
||||||
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'
|
||||||
)
|
)
|
||||||
|
booleanParam(
|
||||||
|
name: 'USE_MOCKED_KEYCARD_LIB',
|
||||||
|
description: 'Decides whether the mocked status-keycard-go library is built.',
|
||||||
|
defaultValue: false
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
|
|
Loading…
Reference in New Issue