]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
make with -j2 to use available CPUs.
authorDarren Tucker <dtucker@dtucker.net>
Thu, 28 Jan 2021 09:55:16 +0000 (20:55 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Thu, 28 Jan 2021 09:55:16 +0000 (20:55 +1100)
.github/setup_ci.sh
.github/workflows/c-cpp.yml

index 5f6cbf8deb45d9f9ecb0b542a69d44b449327ff1..67a76a5d530a4b8ba5883fa5a1c569b7fec9ac89 100755 (executable)
@@ -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
index e31ae668a59faba4eb43a4522dac927292d2b5a7..e546a9c5878773f39eb3142cdb95a2ab92a9e543 100644 (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