Merge pull request #1715 from nghttp2/parallel-build

Parallel build
This commit is contained in:
Tatsuhiro Tsujikawa 2022-05-16 22:05:36 +09:00 committed by GitHub
commit aacc48662a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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.