mirror of
https://github.com/curl/curl
synced 2026-08-25 12:32:35 -04:00
CI: show curl tool and libcurl sizes
To see how they change throughout code and/or build changes. Also: - improve `file` output. - tidy-ups. Closes #20355
This commit is contained in:
parent
9703dabd77
commit
4cf43508e8
6 changed files with 39 additions and 13 deletions
|
|
@ -115,7 +115,9 @@ elif [ "${BUILD_SYSTEM}" = 'VisualStudioSolution' ]; then
|
|||
curl="build/${platdir}/${VC_VERSION}/${PRJ_CFG}/curl${binsuffix}.exe"
|
||||
fi
|
||||
|
||||
find . \( -name '*.exe' -o -name '*.dll' -o -name '*.lib' -o -name '*.pdb' \) -exec file -- '{}' \;
|
||||
find . \( -name '*.exe' -o -name '*.dll' -o -name '*.lib' -o -name '*.pdb' \) -print0 | grep -z curl | xargs -0 file --
|
||||
find . \( -name '*.exe' -o -name '*.dll' -o -name '*.lib' -o -name '*.pdb' \) -print0 | grep -z curl | xargs -0 stat -c '%10s bytes: %n' --
|
||||
|
||||
if [ -z "${SKIP_RUN:-}" ]; then
|
||||
"${curl}" --disable --version
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue