From d12129dda5e14f384dbb9f24ddb462479501fc87 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 14 Mar 2025 22:01:49 +0100 Subject: [PATCH] GHA/non-native: drop building docs with autotools on emulated CPU It saves about 1 minute (10%) per run. Also reduces log length from 3800 to 2800 lines. Keep building docs on native CPU. Closes #16731 --- .github/workflows/non-native.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/non-native.yml b/.github/workflows/non-native.yml index 1336ea8edc..3f028630fc 100644 --- a/.github/workflows/non-native.yml +++ b/.github/workflows/non-native.yml @@ -146,11 +146,15 @@ jobs: pkgconf brotli openldap26-client libidn2 libnghttp2 stunnel py311-impacket time autoreconf -fi export CC='${{ matrix.compiler }}' + if [ '${{ matrix.arch }}' != 'x86_64' ]; then + options='--disable-manual --disable-docs' # Slow with autotools, skip on emulated CPU + fi mkdir bld && cd bld && time ../configure --enable-unity --enable-test-bundles --enable-debug --enable-warnings --enable-werror \ --prefix="${HOME}"/install \ --with-openssl \ --with-brotli --enable-ldap --enable-ldaps --with-libidn2 --with-libssh2 --with-nghttp2 --with-gssapi \ --disable-dependency-tracking \ + ${options} \ ${{ matrix.options }} \ || { tail -n 1000 config.log; false; } echo '::group::curl_config.h (raw)'; cat lib/curl_config.h || true; echo '::endgroup::' -- 2.47.2