blob: e8dbf374cd81dfe6f8b466fac3d3e35af20642f5 [file] [log] [blame] [view]
Davide Pesaventod8398822020-03-29 18:46:19 -04001# CONTINUOUS INTEGRATION SCRIPTS
Joao Pereiraef326da2015-05-27 18:27:40 -04002
Davide Pesaventod8398822020-03-29 18:46:19 -04003## Environment Variables Used in Build Scripts
Joao Pereiraef326da2015-05-27 18:27:40 -04004
Davide Pesaventod8398822020-03-29 18:46:19 -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.
Joao Pereiraef326da2015-05-27 18:27:40 -04007
Davide Pesaventod8398822020-03-29 18:46:19 -04008 The list should normally contain `[OS_TYPE]`, `[DISTRO_TYPE]`, and `[DISTRO_VERSION]`.
Joao Pereiraef326da2015-05-27 18:27:40 -04009
Davide Pesaventod8398822020-03-29 18:46:19 -040010 Example values:
Joao Pereiraef326da2015-05-27 18:27:40 -040011
Davide Pesaventod8398822020-03-29 18:46:19 -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`
Joao Pereiraef326da2015-05-27 18:27:40 -040015
Davide Pesaventod8398822020-03-29 18:46:19 -040016- `JOB_NAME`: optional variable that defines the type of build job. Depending on the job type,
Joao Pereiraef326da2015-05-27 18:27:40 -040017 the build scripts can perform different tasks.
18
19 Possible values:
20
Davide Pesaventod8398822020-03-29 18:46:19 -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 Pesavento956ac312016-09-20 19:11:30 +020024
Davide Pesaventod8398822020-03-29 18:46:19 -040025- `CACHE_DIR`: directory containing cached files from previous builds, e.g., a compiled version
26 of ndn-cxx. If not set, `/tmp` is used.
Davide Pesavento44660cf2017-08-16 00:44:23 -040027
Davide Pesaventod8398822020-03-29 18:46:19 -040028- `WAF_JOBS`: number of parallel build threads used by waf, defaults to 1.