Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
7199489c
Commit
7199489c
authored
May 18, 2017
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
travis: Use nproc to speed up build (potentially)
parent
14edd123
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
.travis.yml
.travis.yml
+3
-3
No files found.
.travis.yml
View file @
7199489c
...
@@ -46,7 +46,7 @@ before_script:
...
@@ -46,7 +46,7 @@ before_script:
-
autoreconf -i
-
autoreconf -i
# Don't use ASAN for spdylay since failmalloc does not work with it.
# Don't use ASAN for spdylay since failmalloc does not work with it.
-
./configure --disable-src --disable-examples
-
./configure --disable-src --disable-examples
-
make check
-
make
-j$(nproc)
check
-
export SPDYLAY_HOME=$PWD
-
export SPDYLAY_HOME=$PWD
-
cd ../..
-
cd ../..
# Now build nghttp2
# Now build nghttp2
...
@@ -55,8 +55,8 @@ before_script:
...
@@ -55,8 +55,8 @@ before_script:
-
if [ "$CI_BUILD" = "autotools" ]; then ./configure --enable-werror --with-mruby --with-neverbleed LIBSPDYLAY_CFLAGS="-I$SPDYLAY_HOME/lib/includes" LIBSPDYLAY_LIBS="-L$SPDYLAY_HOME/lib/.libs -lspdylay" CPPFLAGS=-fsanitize=address LDFLAGS=-fsanitize=address; fi
-
if [ "$CI_BUILD" = "autotools" ]; then ./configure --enable-werror --with-mruby --with-neverbleed LIBSPDYLAY_CFLAGS="-I$SPDYLAY_HOME/lib/includes" LIBSPDYLAY_LIBS="-L$SPDYLAY_HOME/lib/.libs -lspdylay" CPPFLAGS=-fsanitize=address LDFLAGS=-fsanitize=address; fi
-
if [ "$CI_BUILD" = "cmake" ]; then cmake -DENABLE_WERROR=1 -DWITH_MRUBY=1 -DWITH_NEVERBLEED=1 -DSPDYLAY_INCLUDE_DIR="$SPDYLAY_HOME/lib/includes" -DSPDYLAY_LIBRARY="$SPDYLAY_HOME/lib/.libs/libspdylay.so"; fi
-
if [ "$CI_BUILD" = "cmake" ]; then cmake -DENABLE_WERROR=1 -DWITH_MRUBY=1 -DWITH_NEVERBLEED=1 -DSPDYLAY_INCLUDE_DIR="$SPDYLAY_HOME/lib/includes" -DSPDYLAY_LIBRARY="$SPDYLAY_HOME/lib/.libs/libspdylay.so"; fi
script
:
script
:
-
if [ "$CI_BUILD" = "autotools" ]; then make distcheck; fi
-
if [ "$CI_BUILD" = "autotools" ]; then make
-j$(nproc)
distcheck; fi
-
if [ "$CI_BUILD" = "cmake" ]; then make check; fi
-
if [ "$CI_BUILD" = "cmake" ]; then make
-j$(nproc)
check; fi
# As of April, 23, 2016, golang http2 build fails, probably because
# As of April, 23, 2016, golang http2 build fails, probably because
# the default go version is too old.
# the default go version is too old.
# - cd integration-tests
# - cd integration-tests
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment