ci: add NIMFLAGS parameter to jobs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
00aa1b3391
commit
ced3242cdb
|
@ -25,6 +25,11 @@ pipeline {
|
||||||
description: 'Level of verbosity based on nimbus-build-system setup.',
|
description: 'Level of verbosity based on nimbus-build-system setup.',
|
||||||
choices: ['0', '1', '2']
|
choices: ['0', '1', '2']
|
||||||
)
|
)
|
||||||
|
string(
|
||||||
|
name: 'NIMFLAGS',
|
||||||
|
description: 'Extra Nim flags. Examples: --verbosity:2 --passL:"-v" --passC:"-v"',
|
||||||
|
defaultValue: '--colors:off'
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
|
@ -49,8 +54,6 @@ pipeline {
|
||||||
TARGET = "linux/${getArch()}"
|
TARGET = "linux/${getArch()}"
|
||||||
/* Improve make performance */
|
/* Improve make performance */
|
||||||
MAKEFLAGS = "-j4 V=${params.VERBOSE}"
|
MAKEFLAGS = "-j4 V=${params.VERBOSE}"
|
||||||
/* Disable colors in Nim compiler logs */
|
|
||||||
NIMFLAGS = '--colors:off'
|
|
||||||
/* Makefile assumes the compiler folder is included */
|
/* Makefile assumes the compiler folder is included */
|
||||||
QTDIR = "/opt/qt/5.15.2/gcc_64"
|
QTDIR = "/opt/qt/5.15.2/gcc_64"
|
||||||
PATH = "${env.QTDIR}/bin:${env.PATH}"
|
PATH = "${env.QTDIR}/bin:${env.PATH}"
|
||||||
|
|
|
@ -20,6 +20,11 @@ pipeline {
|
||||||
description: 'Level of verbosity based on nimbus-build-system setup.',
|
description: 'Level of verbosity based on nimbus-build-system setup.',
|
||||||
choices: ['0', '1', '2']
|
choices: ['0', '1', '2']
|
||||||
)
|
)
|
||||||
|
string(
|
||||||
|
name: 'NIMFLAGS',
|
||||||
|
description: 'Extra Nim flags. Examples: --verbosity:2 --passL:"-v" --passC:"-v"',
|
||||||
|
defaultValue: '--colors:off'
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
|
@ -44,8 +49,6 @@ pipeline {
|
||||||
TARGET = "macos/${getArch()}"
|
TARGET = "macos/${getArch()}"
|
||||||
/* Improve make performance */
|
/* Improve make performance */
|
||||||
MAKEFLAGS = "-j4 V=${params.VERBOSE}"
|
MAKEFLAGS = "-j4 V=${params.VERBOSE}"
|
||||||
/* Disable colors in Nim compiler logs */
|
|
||||||
NIMFLAGS = '--colors:off'
|
|
||||||
/* WARNING: Qt 5.15.8 installed via Brew. */
|
/* WARNING: Qt 5.15.8 installed via Brew. */
|
||||||
QTDIR = '/opt/homebrew/opt/qt@5'
|
QTDIR = '/opt/homebrew/opt/qt@5'
|
||||||
PATH = "${env.QTDIR}/bin:${env.PATH}"
|
PATH = "${env.QTDIR}/bin:${env.PATH}"
|
||||||
|
|
|
@ -29,6 +29,11 @@ pipeline {
|
||||||
description: 'Level of verbosity based on nimbus-build-system setup.',
|
description: 'Level of verbosity based on nimbus-build-system setup.',
|
||||||
choices: ['0', '1', '2']
|
choices: ['0', '1', '2']
|
||||||
)
|
)
|
||||||
|
string(
|
||||||
|
name: 'NIMFLAGS',
|
||||||
|
description: 'Extra Nim flags. Examples: --verbosity:2 --passL:"-v" --passC:"-v"',
|
||||||
|
defaultValue: '--colors:off'
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
|
@ -58,8 +63,6 @@ pipeline {
|
||||||
TARGET = 'tests/e2e'
|
TARGET = 'tests/e2e'
|
||||||
/* Improve make performance */
|
/* Improve make performance */
|
||||||
MAKEFLAGS = "-j4 V=${params.VERBOSE}"
|
MAKEFLAGS = "-j4 V=${params.VERBOSE}"
|
||||||
/* Disable colors in Nim compiler logs */
|
|
||||||
NIMFLAGS = '--colors:off'
|
|
||||||
/* Makefile assumes the compiler folder is included */
|
/* Makefile assumes the compiler folder is included */
|
||||||
QTDIR = '/opt/qt/5.15.2/gcc_64'
|
QTDIR = '/opt/qt/5.15.2/gcc_64'
|
||||||
PATH = "${env.QTDIR}/bin:${env.PATH}"
|
PATH = "${env.QTDIR}/bin:${env.PATH}"
|
||||||
|
|
|
@ -14,6 +14,11 @@ pipeline {
|
||||||
description: 'Level of verbosity based on nimbus-build-system setup.',
|
description: 'Level of verbosity based on nimbus-build-system setup.',
|
||||||
choices: ['0', '1', '2']
|
choices: ['0', '1', '2']
|
||||||
)
|
)
|
||||||
|
string(
|
||||||
|
name: 'NIMFLAGS',
|
||||||
|
description: 'Extra Nim flags. Examples: --verbosity:2 --passL:"-v" --passC:"-v"',
|
||||||
|
defaultValue: '--colors:off'
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
|
@ -36,8 +41,6 @@ pipeline {
|
||||||
TARGET = 'tests/imports'
|
TARGET = 'tests/imports'
|
||||||
/* Improve make performance */
|
/* Improve make performance */
|
||||||
MAKEFLAGS = "-j4 V=${params.VERBOSE}"
|
MAKEFLAGS = "-j4 V=${params.VERBOSE}"
|
||||||
/* Disable colors in Nim compiler logs */
|
|
||||||
NIMFLAGS = '--colors:off'
|
|
||||||
/* Makefile assumes the compiler folder is included */
|
/* Makefile assumes the compiler folder is included */
|
||||||
QTDIR = "/opt/qt/5.15.2/gcc_64"
|
QTDIR = "/opt/qt/5.15.2/gcc_64"
|
||||||
PATH = "${env.QTDIR}/bin:${env.PATH}"
|
PATH = "${env.QTDIR}/bin:${env.PATH}"
|
||||||
|
|
|
@ -17,6 +17,11 @@ pipeline {
|
||||||
description: 'Level of verbosity based on nimbus-build-system setup.',
|
description: 'Level of verbosity based on nimbus-build-system setup.',
|
||||||
choices: ['0', '1', '2']
|
choices: ['0', '1', '2']
|
||||||
)
|
)
|
||||||
|
string(
|
||||||
|
name: 'NIMFLAGS',
|
||||||
|
description: 'Extra Nim flags. Examples: --verbosity:2 --passL:"-v" --passC:"-v"',
|
||||||
|
defaultValue: '--colors:off'
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
|
@ -39,8 +44,6 @@ pipeline {
|
||||||
TARGET = 'tests/nim'
|
TARGET = 'tests/nim'
|
||||||
/* Improve make performance */
|
/* Improve make performance */
|
||||||
MAKEFLAGS = "-j4 V=${params.VERBOSE}"
|
MAKEFLAGS = "-j4 V=${params.VERBOSE}"
|
||||||
/* Disable colors in Nim compiler logs */
|
|
||||||
NIMFLAGS = '--colors:off'
|
|
||||||
/* Makefile assumes the compiler folder is included */
|
/* Makefile assumes the compiler folder is included */
|
||||||
QTDIR = "/opt/qt/5.15.2/gcc_64"
|
QTDIR = "/opt/qt/5.15.2/gcc_64"
|
||||||
/* Include library in order to compile the project */
|
/* Include library in order to compile the project */
|
||||||
|
|
|
@ -17,6 +17,11 @@ pipeline {
|
||||||
description: 'Level of verbosity based on nimbus-build-system setup.',
|
description: 'Level of verbosity based on nimbus-build-system setup.',
|
||||||
choices: ['0', '1', '2']
|
choices: ['0', '1', '2']
|
||||||
)
|
)
|
||||||
|
string(
|
||||||
|
name: 'NIMFLAGS',
|
||||||
|
description: 'Extra Nim flags. Examples: --verbosity:2 --passL:"-v" --passC:"-v"',
|
||||||
|
defaultValue: '--colors:off'
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
|
@ -41,8 +46,6 @@ pipeline {
|
||||||
TARGET = "windows/${getArch()}"
|
TARGET = "windows/${getArch()}"
|
||||||
/* Improve make performance */
|
/* Improve make performance */
|
||||||
MAKEFLAGS = "-j${utils.getProcCount()} V=${params.VERBOSE}"
|
MAKEFLAGS = "-j${utils.getProcCount()} V=${params.VERBOSE}"
|
||||||
/* Disable colors in Nim compiler logs */
|
|
||||||
NIMFLAGS = '--colors:off'
|
|
||||||
/* Explicitly set the QT version */
|
/* Explicitly set the QT version */
|
||||||
QTDIR = "/c/Qt/5.15.2/msvc2019_64"
|
QTDIR = "/c/Qt/5.15.2/msvc2019_64"
|
||||||
PATH = "${env.QTDIR}/bin:${env.PATH}"
|
PATH = "${env.QTDIR}/bin:${env.PATH}"
|
||||||
|
|
Loading…
Reference in New Issue