mirror of
https://github.com/curl/curl.git
synced 2025-04-18 16:30:45 +08:00
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
This commit is contained in:
parent
f501d0d5e3
commit
d12129dda5
4
.github/workflows/non-native.yml
vendored
4
.github/workflows/non-native.yml
vendored
@ -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::'
|
||||
|
Loading…
x
Reference in New Issue
Block a user