blob: e8dbf374cd81dfe6f8b466fac3d3e35af20642f5 [file] [log] [blame] [view]
Davide Pesavento4a160042020-04-13 16:50:02 -04001# CONTINUOUS INTEGRATION SCRIPTS
Alexander Afanasyevf34a3552017-08-13 21:17:05 -04002
Davide Pesavento4a160042020-04-13 16:50:02 -04003## Environment Variables Used in Build Scripts
Alexander Afanasyevf34a3552017-08-13 21:17:05 -04004
Davide Pesavento4a160042020-04-13 16:50:02 -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 Afanasyevf34a3552017-08-13 21:17:05 -04007
Davide Pesavento4a160042020-04-13 16:50:02 -04008 The list should normally contain `[OS_TYPE]`, `[DISTRO_TYPE]`, and `[DISTRO_VERSION]`.
Alexander Afanasyevf34a3552017-08-13 21:17:05 -04009
Davide Pesavento4a160042020-04-13 16:50:02 -040010 Example values:
Alexander Afanasyevf34a3552017-08-13 21:17:05 -040011
Davide Pesavento4a160042020-04-13 16:50:02 -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 Afanasyevf34a3552017-08-13 21:17:05 -040015
Davide Pesavento4a160042020-04-13 16:50:02 -040016- `JOB_NAME`: optional variable that defines the type of build job. Depending on the job type,
Alexander Afanasyevf34a3552017-08-13 21:17:05 -040017 the build scripts can perform different tasks.
18
19 Possible values:
20
Davide Pesavento4a160042020-04-13 16:50:02 -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
Alexander Afanasyevf34a3552017-08-13 21:17:05 -040024
Davide Pesavento4a160042020-04-13 16:50:02 -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.
Alexander Afanasyevf34a3552017-08-13 21:17:05 -040027
Davide Pesavento4a160042020-04-13 16:50:02 -040028- `WAF_JOBS`: number of parallel build threads used by waf, defaults to 1.