Skip to content

Commit 0baccef

Browse files
committed
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: nodejs/node#2134 Reviewed-By: Ryan Graham <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
1 parent e11fe0c commit 0baccef

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@ docopen: out/doc/api/all.html
184184
docclean:
185185
-rm -rf out/doc
186186

187+
run-ci:
188+
$(PYTHON) ./configure $(CONFIG_FLAGS)
189+
$(MAKE)
190+
$(MAKE) test-ci
191+
187192
RAWVER=$(shell $(PYTHON) tools/getnodeversion.py)
188193
VERSION=v$(RAWVER)
189194
FULLVERSION=$(VERSION)
@@ -398,4 +403,4 @@ lint: jslint cpplint
398403
dynamiclib test test-all test-addons build-addons website-upload pkg \
399404
blog blogclean tar binary release-only bench-http-simple bench-idle \
400405
bench-all bench bench-misc bench-array bench-buffer bench-net \
401-
bench-http bench-fs bench-tls cctest
406+
bench-http bench-fs bench-tls cctest run-ci

0 commit comments

Comments
 (0)