From: Viktor Szakats Date: Sun, 24 Nov 2024 01:46:41 +0000 (+0100) Subject: GHA: speed up 3 openssl/quictls builds 3x X-Git-Tag: curl-8_11_1~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b13078d6c5038a0495c339067326cb0b5efc90c0;p=thirdparty%2Fcurl.git GHA: speed up 3 openssl/quictls builds 3x Build in parallel first, then install with `-j1`. This makes the build part 3x quicker, while avoiding parallellism issues at the install phase. ``` before after after 1da198d this aws-lc: 1m55s ~40s libressl: 1m16s ~1m20s openssl-tsan: 5m47s 3m43s 1m48s (clang) openssl: 6m38s 4m49s 2m13s (quic) quictls-no-deprecated: 2m28s 1m51s quictls: ~6m08s 4m16s 1m55s wolfssl-all: 1m36s 52s wolfssl-master: 1m34s 53s wolfssl-opensslextra: 50s 32s ``` Follow-up to 1da198d18e495c08adb5691459da0b5fcfc7f160 #15622 Closes #15630 --- diff --git a/.github/workflows/http3-linux.yml b/.github/workflows/http3-linux.yml index da6f25e273..583b727343 100644 --- a/.github/workflows/http3-linux.yml +++ b/.github/workflows/http3-linux.yml @@ -415,6 +415,7 @@ jobs: git clone --quiet --depth=1 -b openssl-${{ env.openssl-version }} https://github.com/openssl/openssl cd openssl ./config --prefix=$HOME/openssl/build no-makedepend no-apps no-docs no-tests + make make -j1 install_sw cat exporters/openssl.pc diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 3eae965a73..12c332ac35 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -450,6 +450,7 @@ jobs: git clone --quiet --depth=1 -b openssl-${{ env.openssl-version }} https://github.com/openssl/openssl cd openssl CC="clang" CFLAGS="-fsanitize=thread" LDFLAGS="-fsanitize=thread" ./config --prefix=$HOME/openssl --libdir=lib no-makedepend no-apps no-docs no-tests + make make -j1 install_sw - name: 'cache quictls' @@ -468,6 +469,7 @@ jobs: git clone --quiet --depth=1 -b openssl-${{ env.quictls-version }}-quic1 https://github.com/quictls/openssl cd openssl ./config --prefix=$HOME/quictls --libdir=lib no-makedepend no-apps no-docs no-tests + make make -j1 install_sw - name: 'cache msh3'