mirror of
https://github.com/curl/curl.git
synced 2026-07-28 18:33:06 +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
8
.github/workflows/non-native.yml
vendored
8
.github/workflows/non-native.yml
vendored
|
|
@ -308,7 +308,9 @@ jobs:
|
|||
fi
|
||||
|
||||
- name: 'curl info'
|
||||
run: find . -type f \( -name curl -o -name '*.so' -o -name '*.a' \) -exec file -- '{}' \;
|
||||
run: |
|
||||
find . -type f \( -name curl -o -name '*.so.*' -o -name '*.a' \) -print0 | xargs -0 file --
|
||||
find . -type f \( -name curl -o -name '*.so.*' -o -name '*.a' \) -print0 | xargs -0 stat -c '%10s bytes: %n' --
|
||||
|
||||
- name: 'build tests'
|
||||
run: |
|
||||
|
|
@ -412,7 +414,9 @@ jobs:
|
|||
fi
|
||||
|
||||
- name: 'curl info'
|
||||
run: find . \( -name '*.exe' -o -name '*.a' \) -exec file '{}' \;
|
||||
run: |
|
||||
find . \( -name '*.exe' -o -name '*.a' \) -print0 | xargs -0 file --
|
||||
find . \( -name '*.exe' -o -name '*.a' \) -print0 | xargs -0 stat -c '%10s bytes: %n' --
|
||||
|
||||
- name: 'build tests'
|
||||
if: ${{ matrix.build == 'cmake' }} # skip for autotools to save time
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue