Parallel build
This commit is contained in:
parent
d5733b6beb
commit
de8eaf6468
|
@ -166,14 +166,14 @@ jobs:
|
||||||
- name: Build nghttp2 with autotools
|
- name: Build nghttp2 with autotools
|
||||||
if: matrix.buildtool == 'autotools'
|
if: matrix.buildtool == 'autotools'
|
||||||
run: |
|
run: |
|
||||||
make distcheck \
|
make -j"$(nproc 2> /dev/null || sysctl -n hw.ncpu)" distcheck \
|
||||||
DISTCHECK_CONFIGURE_FLAGS="--with-mruby --with-neverbleed --with-libev --enable-werror $EXTRA_AUTOTOOLS_OPTS CPPFLAGS=\"$CPPFLAGS\" LDFLAGS=\"$LDFLAGS\""
|
DISTCHECK_CONFIGURE_FLAGS="--with-mruby --with-neverbleed --with-libev --enable-werror $EXTRA_AUTOTOOLS_OPTS CPPFLAGS=\"$CPPFLAGS\" LDFLAGS=\"$LDFLAGS\""
|
||||||
- name: Build nghttp2 with cmake
|
- name: Build nghttp2 with cmake
|
||||||
if: matrix.buildtool == 'cmake'
|
if: matrix.buildtool == 'cmake'
|
||||||
run: |
|
run: |
|
||||||
cd $NGHTTP2_CMAKE_DIR
|
cd $NGHTTP2_CMAKE_DIR
|
||||||
make
|
make -j"$(nproc 2> /dev/null || sysctl -n hw.ncpu)"
|
||||||
make check
|
make -j"$(nproc 2> /dev/null || sysctl -n hw.ncpu)" check
|
||||||
- name: Integration test
|
- name: Integration test
|
||||||
# Integration tests for nghttpx; autotools erases build
|
# Integration tests for nghttpx; autotools erases build
|
||||||
# artifacts.
|
# artifacts.
|
||||||
|
|
Loading…
Reference in New Issue