blob: 9087f0f74c68fde43eb13c5647881b3f36afb2e6 [file] [log] [blame] [view]
Davide Pesavento2349e282020-03-24 14:28:03 -04001# CONTINUOUS INTEGRATION SCRIPTS
Alexander Afanasyevb346ddb2015-06-03 00:52:03 -04002
Davide Pesavento2349e282020-03-24 14:28:03 -04003## Environment Variables Used in Build Scripts
Alexander Afanasyevb346ddb2015-06-03 00:52:03 -04004
Davide Pesavento2349e282020-03-24 14:28:03 -04005- `NODE_LABELS`: space-separated list of platform properties. The included values are used by
6 the build scripts to select the proper behavior for different operating systems and versions.
Alexander Afanasyevb346ddb2015-06-03 00:52:03 -04007
Davide Pesavento2349e282020-03-24 14:28:03 -04008 The list should normally contain `[OS_TYPE]`, `[DISTRO_TYPE]`, and `[DISTRO_VERSION]`.
Alexander Afanasyevb346ddb2015-06-03 00:52:03 -04009
Davide Pesavento2349e282020-03-24 14:28:03 -040010 Example values:
Alexander Afanasyevb346ddb2015-06-03 00:52:03 -040011
Davide Pesavento2349e282020-03-24 14:28:03 -040012 - `[OS_TYPE]`: `Linux`, `OSX`
13 - `[DISTRO_TYPE]`: `Ubuntu`, `CentOS`
14 - `[DISTRO_VERSION]`: `Ubuntu-16.04`, `Ubuntu-18.04`, `CentOS-8`, `OSX-10.14`, `OSX-10.15`
Alexander Afanasyevb346ddb2015-06-03 00:52:03 -040015
Davide Pesavento2349e282020-03-24 14:28:03 -040016- `JOB_NAME`: optional variable that defines the type of build job. Depending on the job type,
Alexander Afanasyevb346ddb2015-06-03 00:52:03 -040017 the build scripts can perform different tasks.
18
19 Possible values:
20
Davide Pesavento2349e282020-03-24 14:28:03 -040021 - empty: default build task
22 - `code-coverage`: debug build with tests and code coverage analysis (Ubuntu Linux is assumed)
23 - `limited-build`: only a single debug build with tests
Davide Pesavento3cf90782017-08-10 01:21:20 -040024
Davide Pesavento2349e282020-03-24 14:28:03 -040025- `WAF_JOBS`: number of parallel build threads used by waf, defaults to 1.