Davide Pesavento | 2349e28 | 2020-03-24 14:28:03 -0400 | [diff] [blame] | 1 | # CONTINUOUS INTEGRATION SCRIPTS |
Alexander Afanasyev | b346ddb | 2015-06-03 00:52:03 -0400 | [diff] [blame] | 2 | |
Davide Pesavento | 2349e28 | 2020-03-24 14:28:03 -0400 | [diff] [blame] | 3 | ## Environment Variables Used in Build Scripts |
Alexander Afanasyev | b346ddb | 2015-06-03 00:52:03 -0400 | [diff] [blame] | 4 | |
Davide Pesavento | 2349e28 | 2020-03-24 14:28:03 -0400 | [diff] [blame] | 5 | - `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 Afanasyev | b346ddb | 2015-06-03 00:52:03 -0400 | [diff] [blame] | 7 | |
Davide Pesavento | 2349e28 | 2020-03-24 14:28:03 -0400 | [diff] [blame] | 8 | The list should normally contain `[OS_TYPE]`, `[DISTRO_TYPE]`, and `[DISTRO_VERSION]`. |
Alexander Afanasyev | b346ddb | 2015-06-03 00:52:03 -0400 | [diff] [blame] | 9 | |
Davide Pesavento | 2349e28 | 2020-03-24 14:28:03 -0400 | [diff] [blame] | 10 | Example values: |
Alexander Afanasyev | b346ddb | 2015-06-03 00:52:03 -0400 | [diff] [blame] | 11 | |
Davide Pesavento | 2349e28 | 2020-03-24 14:28:03 -0400 | [diff] [blame] | 12 | - `[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 Afanasyev | b346ddb | 2015-06-03 00:52:03 -0400 | [diff] [blame] | 15 | |
Davide Pesavento | 2349e28 | 2020-03-24 14:28:03 -0400 | [diff] [blame] | 16 | - `JOB_NAME`: optional variable that defines the type of build job. Depending on the job type, |
Alexander Afanasyev | b346ddb | 2015-06-03 00:52:03 -0400 | [diff] [blame] | 17 | the build scripts can perform different tasks. |
| 18 | |
| 19 | Possible values: |
| 20 | |
Davide Pesavento | 2349e28 | 2020-03-24 14:28:03 -0400 | [diff] [blame] | 21 | - 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 Pesavento | 3cf9078 | 2017-08-10 01:21:20 -0400 | [diff] [blame] | 24 | |
Davide Pesavento | ab7300b | 2020-04-09 00:51:41 -0400 | [diff] [blame] | 25 | - `CACHE_DIR`: directory containing cached files from previous builds, e.g., a compiled version |
| 26 | of ndn-cxx. If not set, `/tmp` is used. |
| 27 | |
Davide Pesavento | 2349e28 | 2020-03-24 14:28:03 -0400 | [diff] [blame] | 28 | - `WAF_JOBS`: number of parallel build threads used by waf, defaults to 1. |