diff options
author | Alexis Campailla <alexis@janeasystems.com> | 2015-07-08 17:11:24 +0300 |
---|---|---|
committer | Alexis Campailla <alexis@janeasystems.com> | 2015-07-10 18:05:17 +0300 |
commit | 12bc397207dc1c4d63a390f5167b3a51a952ed83 (patch) | |
tree | e3a63ee00188c2a6da77441309d40a6cccd078ca | |
parent | 84012c99e06ec78888f201ff934b40dc53542582 (diff) |
build: run-ci makefile rule
Adding a single rule to be called from Jenkins.
Jenkins jobs typically call:
python ./configure
make -j $(getconf _NPROCESSORS_ONLN)
make test-ci
After this change, we can have Jenkins call:
make run-ci -j $(getconf _NPROCESSORS_ONLN)
This allows us to customize how we call configure
for different repos or branches (e.g. joyent\node).
PR-URL: https://github.com/nodejs/io.js/pull/2134
Reviewed-By: Ryan Graham <r.m.graham@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -185,6 +185,11 @@ docopen: out/doc/api/all.html docclean: -rm -rf out/doc +run-ci: + $(PYTHON) ./configure $(CONFIG_FLAGS) + $(MAKE) + $(MAKE) test-ci + RAWVER=$(shell $(PYTHON) tools/getnodeversion.py) VERSION=v$(RAWVER) @@ -464,4 +469,4 @@ lint: jslint cpplint dynamiclib test test-all test-addons build-addons website-upload pkg \ blog blogclean tar binary release-only bench-http-simple bench-idle \ bench-all bench bench-misc bench-array bench-buffer bench-net \ - bench-http bench-fs bench-tls cctest + bench-http bench-fs bench-tls cctest run-ci |