Skip to content

Commit

Permalink
Add option to disable build of C artifacts (jenkins)
Browse files Browse the repository at this point in the history
Option name: DISABLE_C_BUILDS.
  • Loading branch information
SergeySeroshtan committed Jul 26, 2021
1 parent e93b16e commit 1a51cd9
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ properties([
booleanParam(name: 'RUN_ANDROID_TESTS', defaultValue: true,
description: 'Run Android instrumental tests.'),

booleanParam(name: 'DISABLE_C_BUILDS', defaultValue: false,
description: 'Disable build of C artifacts'),

booleanParam(name: 'DISABLE_PHP_BUILDS', defaultValue: false,
description: 'Disable build of PHP artifacts'),

Expand Down Expand Up @@ -66,10 +69,12 @@ def nodes = [:]
//
// Language: C
//
nodes['lang-c-platform-linux'] = build_LangC_Unix('build-centos7', 'x86_64')
nodes['lang-c-platform-macos-x86_64'] = build_LangC_Unix('build-os-x', 'x86_64')
nodes['lang-c-platform-macos-arm64'] = build_LangC_Unix('build-os-x', 'arm64')
nodes['lang-c-platform-windows'] = build_LangC_Windows('build-win10')
if (!params.DISABLE_C_BUILDS) {
nodes['lang-c-platform-linux'] = build_LangC_Unix('build-centos7', 'x86_64')
nodes['lang-c-platform-macos-x86_64'] = build_LangC_Unix('build-os-x', 'x86_64')
nodes['lang-c-platform-macos-arm64'] = build_LangC_Unix('build-os-x', 'arm64')
nodes['lang-c-platform-windows'] = build_LangC_Windows('build-win10')
}

//
// Language: PHP
Expand Down

0 comments on commit 1a51cd9

Please sign in to comment.