summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2021-01-28 20:55:16 +1100
committerDarren Tucker <dtucker@dtucker.net>2021-01-28 20:55:16 +1100
commit3d59e88c0e42182c3749b446ccd9027933c84be4 (patch)
treea5168d5b79aa4628d6af7cd3e9a298266b7bd5d9 /.github
parent66dd9ddb5d2ea8c407908c8e8468c9d6e71db05b (diff)
make with -j2 to use available CPUs.
Diffstat (limited to '.github')
-rwxr-xr-x.github/setup_ci.sh6
-rw-r--r--.github/workflows/c-cpp.yml8
2 files changed, 7 insertions, 7 deletions
diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh
index 5f6cbf8d..67a76a5d 100755
--- a/.github/setup_ci.sh
+++ b/.github/setup_ci.sh
@@ -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
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index e31ae668..e546a9c5 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -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