make with -j2 to use available CPUs.

This commit is contained in:
Darren Tucker 2021-01-28 20:55:16 +11:00
parent 66dd9ddb5d
commit 3d59e88c0e
2 changed files with 7 additions and 7 deletions

6
.github/setup_ci.sh vendored
View File

@ -70,7 +70,7 @@ if [ "${INSTALL_HARDENED_MALLOC}" = "yes" ]; then
(cd ${HOME} &&
git clone https://github.com/GrapheneOS/hardened_malloc.git &&
cd ${HOME}/hardened_malloc &&
make && sudo cp libhardened_malloc.so /usr/lib/)
make -j2 && sudo cp libhardened_malloc.so /usr/lib/)
fi
if [ "${INSTALL_OPENSSL_HEAD}" = "yes" ];then
@ -78,7 +78,7 @@ if [ "${INSTALL_OPENSSL_HEAD}" = "yes" ];then
git clone https://github.com/openssl/openssl.git &&
cd ${HOME}/openssl &&
./config no-threads no-engine no-fips no-shared --prefix=/opt/openssl/head &&
make && sudo make install_sw)
make -j2 && sudo make install_sw)
fi
if [ "${INSTALL_LIBRESSL_HEAD}" = "yes" ];then
@ -86,5 +86,5 @@ if [ "${INSTALL_LIBRESSL_HEAD}" = "yes" ];then
git clone https://github.com/libressl-portable/portable.git &&
cd ${HOME}/libressl/portable && sh update.sh && sh autogen.sh &&
./configure --prefix=/opt/libressl/head &&
make && sudo make install_sw)
make -j2 && sudo make install_sw)
fi

View File

@ -26,7 +26,7 @@ jobs:
- name: configure
run: ./configure ${{ matrix.configs }}
- name: make
run: make
run: make -j2
- name: copy moduli
run: sudo cp moduli /usr/local/etc/
- name: make tests
@ -58,7 +58,7 @@ jobs:
- name: configure
run: ./configure ${{ matrix.configs }}
- name: make
run: make
run: make -j2
- name: copy moduli
run: sudo cp moduli /usr/local/etc/
- name: make tests
@ -84,7 +84,7 @@ jobs:
- name: configure
run: ./configure ${{ matrix.configs }}
- name: make
run: make
run: make -j2
- name: copy moduli
run: sudo cp moduli /usr/local/etc/
- name: make tests
@ -111,7 +111,7 @@ jobs:
- name: configure
run: ./configure --with-ssl-dir=/usr/local/opt/openssl ${{ matrix.configs }}
- name: make
run: make
run: make -j2
- name: copy moduli
run: sudo cp moduli /usr/local/etc/
- name: make tests