Skip to content

Commit 12bc397

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: #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>
1 parent 84012c9 commit 12bc397

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Makefile

+6-1
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,11 @@ docopen: out/doc/api/all.html
185185
docclean:
186186
-rm -rf out/doc
187187

188+
run-ci:
189+
$(PYTHON) ./configure $(CONFIG_FLAGS)
190+
$(MAKE)
191+
$(MAKE) test-ci
192+
188193
RAWVER=$(shell $(PYTHON) tools/getnodeversion.py)
189194
VERSION=v$(RAWVER)
190195

@@ -464,4 +469,4 @@ lint: jslint cpplint
464469
dynamiclib test test-all test-addons build-addons website-upload pkg \
465470
blog blogclean tar binary release-only bench-http-simple bench-idle \
466471
bench-all bench bench-misc bench-array bench-buffer bench-net \
467-
bench-http bench-fs bench-tls cctest
472+
bench-http bench-fs bench-tls cctest run-ci

0 commit comments

Comments
 (0)