mirror of
https://github.com/curl/curl.git
synced 2026-07-25 06:48:07 +03: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
14
.github/workflows/macos.yml
vendored
14
.github/workflows/macos.yml
vendored
|
|
@ -182,7 +182,9 @@ jobs:
|
|||
fi
|
||||
|
||||
- name: 'curl info'
|
||||
run: find . -type f \( -name curl -o -name '*.dylib' -o -name '*.a' \) -exec file -- '{}' \;
|
||||
run: |
|
||||
find . -type f \( -name curl -o -name '*.dylib' -o -name '*.a' \) -print0 | xargs -0 file --
|
||||
find . -type f \( -name curl -o -name '*.dylib' -o -name '*.a' \) -print0 | xargs -0 stat -f '%10z bytes: %N' --
|
||||
|
||||
- name: 'build tests'
|
||||
run: |
|
||||
|
|
@ -462,7 +464,10 @@ jobs:
|
|||
fi
|
||||
|
||||
- name: 'curl -V'
|
||||
run: bld/src/curl --disable --version
|
||||
run: |
|
||||
find . -type f \( -name curl -o -name '*.dylib' -o -name '*.a' \) -print0 | xargs -0 file --
|
||||
find . -type f \( -name curl -o -name '*.dylib' -o -name '*.a' \) -print0 | xargs -0 stat -f '%10z bytes: %N' --
|
||||
bld/src/curl --disable --version
|
||||
|
||||
- name: 'curl install'
|
||||
run: |
|
||||
|
|
@ -696,4 +701,7 @@ jobs:
|
|||
fi
|
||||
|
||||
- name: 'curl -V'
|
||||
run: bld/src/curl --disable --version
|
||||
run: |
|
||||
find . -type f \( -name curl -o -name '*.dylib' -o -name '*.a' \) -print0 | xargs -0 file --
|
||||
find . -type f \( -name curl -o -name '*.dylib' -o -name '*.a' \) -print0 | xargs -0 stat -f '%10z bytes: %N' --
|
||||
bld/src/curl --disable --version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue