chore(ci): change RELEASE into INCLUDE_DEBUG_SYMBOLS
This way it actually reflects the purpose accurately and allows us to build without debug symbols in CI without pulling in release credentials. https://github.com/status-im/status-desktop/issues/13079 The only utility for `RELEASE` parameter is inheriting it from the parent meta-job(`ci/Jenkinsfile.combined`). Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
3386ce74e7
commit
a27e447f11
4
Makefile
4
Makefile
|
@ -209,8 +209,8 @@ ifeq ($(detected_OS),Darwin)
|
|||
endif
|
||||
endif
|
||||
|
||||
RELEASE ?= false
|
||||
ifeq ($(RELEASE),false)
|
||||
INCLUDE_DEBUG_SYMBOLS ?= false
|
||||
ifeq ($(INCLUDE_DEBUG_SYMBOLS),true)
|
||||
# We need `-d:debug` to get Nim's default stack traces
|
||||
NIM_PARAMS += -d:debug
|
||||
# Enable debugging symbols in DOtherSide, in case we need GDB backtraces
|
||||
|
|
|
@ -18,9 +18,14 @@ pipeline {
|
|||
parameters {
|
||||
booleanParam(
|
||||
name: 'RELEASE',
|
||||
description: 'Decides whether binaries are built with debug symbols.',
|
||||
description: 'Decides whether release credentials are used.',
|
||||
defaultValue: params.RELEASE ?: false
|
||||
)
|
||||
booleanParam(
|
||||
name: 'INCLUDE_DEBUG_SYMBOLS',
|
||||
description: 'Decides whether binaries are built with debug symbols.',
|
||||
defaultValue: params.INCLUDE_DEBUG_SYMBOLS ?: false
|
||||
)
|
||||
choice(
|
||||
name: 'VERBOSE',
|
||||
description: 'Level of verbosity based on nimbus-build-system setup.',
|
||||
|
|
|
@ -13,9 +13,14 @@ pipeline {
|
|||
parameters {
|
||||
booleanParam(
|
||||
name: 'RELEASE',
|
||||
description: 'Decides whether binaries are built with debug symbols.',
|
||||
description: 'Decides whether release credentials are used.',
|
||||
defaultValue: params.RELEASE ?: false
|
||||
)
|
||||
booleanParam(
|
||||
name: 'INCLUDE_DEBUG_SYMBOLS',
|
||||
description: 'Decides whether binaries are built with debug symbols.',
|
||||
defaultValue: params.INCLUDE_DEBUG_SYMBOLS ?: false
|
||||
)
|
||||
choice(
|
||||
name: 'VERBOSE',
|
||||
description: 'Level of verbosity based on nimbus-build-system setup.',
|
||||
|
|
|
@ -10,9 +10,14 @@ pipeline {
|
|||
parameters {
|
||||
booleanParam(
|
||||
name: 'RELEASE',
|
||||
description: 'Decides whether binaries are built with debug symbols.',
|
||||
description: 'Decides whether release credentials are used.',
|
||||
defaultValue: params.RELEASE ?: false
|
||||
)
|
||||
booleanParam(
|
||||
name: 'INCLUDE_DEBUG_SYMBOLS',
|
||||
description: 'Decides whether binaries are built with debug symbols.',
|
||||
defaultValue: params.INCLUDE_DEBUG_SYMBOLS ?: false
|
||||
)
|
||||
choice(
|
||||
name: 'VERBOSE',
|
||||
description: 'Level of verbosity based on nimbus-build-system setup.',
|
||||
|
|
|
@ -18,9 +18,14 @@ pipeline {
|
|||
parameters {
|
||||
booleanParam(
|
||||
name: 'RELEASE',
|
||||
description: 'Decides whether binaries are built with debug symbols.',
|
||||
description: 'Decides whether release credentials are used.',
|
||||
defaultValue: params.RELEASE ?: false
|
||||
)
|
||||
booleanParam(
|
||||
name: 'INCLUDE_DEBUG_SYMBOLS',
|
||||
description: 'Decides whether binaries are built with debug symbols.',
|
||||
defaultValue: params.INCLUDE_DEBUG_SYMBOLS ?: false
|
||||
)
|
||||
}
|
||||
|
||||
options {
|
||||
|
|
|
@ -15,9 +15,14 @@ pipeline {
|
|||
parameters {
|
||||
booleanParam(
|
||||
name: 'RELEASE',
|
||||
description: 'Decides whether binaries are built with debug symbols.',
|
||||
description: 'Decides whether release credentials are used.',
|
||||
defaultValue: params.RELEASE ?: false
|
||||
)
|
||||
booleanParam(
|
||||
name: 'INCLUDE_DEBUG_SYMBOLS',
|
||||
description: 'Decides whether binaries are built with debug symbols.',
|
||||
defaultValue: params.INCLUDE_DEBUG_SYMBOLS ?: false
|
||||
)
|
||||
}
|
||||
|
||||
options {
|
||||
|
|
|
@ -15,9 +15,14 @@ pipeline {
|
|||
parameters {
|
||||
booleanParam(
|
||||
name: 'RELEASE',
|
||||
description: 'Decides whether binaries are built with debug symbols.',
|
||||
description: 'Decides whether release credentials are used.',
|
||||
defaultValue: params.RELEASE ?: false
|
||||
)
|
||||
booleanParam(
|
||||
name: 'INCLUDE_DEBUG_SYMBOLS',
|
||||
description: 'Decides whether binaries are built with debug symbols.',
|
||||
defaultValue: params.INCLUDE_DEBUG_SYMBOLS ?: false
|
||||
)
|
||||
}
|
||||
|
||||
options {
|
||||
|
|
Loading…
Reference in New Issue