blob: e8dbf374cd81dfe6f8b466fac3d3e35af20642f5 [file] [log] [blame] [view]
Davide Pesavento69857c32020-04-05 16:36:26 -04001# CONTINUOUS INTEGRATION SCRIPTS
Alexander Afanasyevb81cff92015-07-09 09:45:09 +08002
Davide Pesavento69857c32020-04-05 16:36:26 -04003## Environment Variables Used in Build Scripts
Alexander Afanasyevb81cff92015-07-09 09:45:09 +08004
Davide Pesavento69857c32020-04-05 16:36:26 -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 Afanasyevb81cff92015-07-09 09:45:09 +08007
Davide Pesavento69857c32020-04-05 16:36:26 -04008 The list should normally contain `[OS_TYPE]`, `[DISTRO_TYPE]`, and `[DISTRO_VERSION]`.
Alexander Afanasyevb81cff92015-07-09 09:45:09 +08009
Davide Pesavento69857c32020-04-05 16:36:26 -040010 Example values:
Alexander Afanasyevb81cff92015-07-09 09:45:09 +080011
Davide Pesavento69857c32020-04-05 16:36:26 -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 Afanasyevb81cff92015-07-09 09:45:09 +080015
Davide Pesavento69857c32020-04-05 16:36:26 -040016- `JOB_NAME`: optional variable that defines the type of build job. Depending on the job type,
Alexander Afanasyevb81cff92015-07-09 09:45:09 +080017 the build scripts can perform different tasks.
18
19 Possible values:
20
Davide Pesavento69857c32020-04-05 16:36:26 -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 Afanasyevf22ebaf2015-12-17 21:23:05 -080024
Davide Pesavento69857c32020-04-05 16:36:26 -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 Pesavento9ac95d32017-07-01 01:51:37 -040027
Davide Pesavento69857c32020-04-05 16:36:26 -040028- `WAF_JOBS`: number of parallel build threads used by waf, defaults to 1.