blob: d3827577e819e9a241f2843ef11208c591b72719 [file] [log] [blame] [view]
Davide Pesaventof6625002022-07-31 17:15:02 -04001# Continuous Integration Scripts
Alexander Afanasyevb346ddb2015-06-03 00:52:03 -04002
Davide Pesaventof6625002022-07-31 17:15:02 -04003## Environment Variables
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 Pesaventof6625002022-07-31 17:15:02 -040012 - `[OS_TYPE]`: `Linux`, `macos`
Davide Pesavento2349e282020-03-24 14:28:03 -040013 - `[DISTRO_TYPE]`: `Ubuntu`, `CentOS`
Davide Pesaventof6625002022-07-31 17:15:02 -040014 - `[DISTRO_VERSION]`: `ubuntu-20.04`, `ubuntu-22.04`, `centos-9`, `macos-10.15`, `macos-11`
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 Pesaventoab7300b2020-04-09 00:51:41 -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.
27
Davide Pesavento2349e282020-03-24 14:28:03 -040028- `WAF_JOBS`: number of parallel build threads used by waf, defaults to 1.