Parallel build

This commit is contained in:
Tatsuhiro Tsujikawa 2022-05-16 21:29:34 +09:00
parent d5733b6beb
commit de8eaf6468
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.