mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
GHA: strip Windows/MS-DOS/Android binaries to see their real size
Unstripped size hides effective binary sizes due to the added debug
information. E.g. `--gc-sections` may inflate unstripped binaries, while
their unstripped size decreases. To see if binary size optimization
options work, it's more useful to observe unstripped size.
Ref: #20357
Follow-up to 4cf43508e8 #20355
Closes #20359
This commit is contained in:
parent
59e3b693f7
commit
9996cab546
2
.github/workflows/non-native.yml
vendored
2
.github/workflows/non-native.yml
vendored
@ -240,6 +240,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
env:
|
||||
LDFLAGS: -s
|
||||
MAKEFLAGS: -j 5
|
||||
MATRIX_BUILD: '${{ matrix.build }}'
|
||||
strategy:
|
||||
@ -333,6 +334,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
env:
|
||||
LDFLAGS: -s
|
||||
MAKEFLAGS: -j 5
|
||||
MATRIX_BUILD: '${{ matrix.build }}'
|
||||
# renovate: datasource=github-releases depName=andrewwutw/build-djgpp versioning=semver-coerced registryUrl=https://github.com
|
||||
|
||||
4
.github/workflows/windows.yml
vendored
4
.github/workflows/windows.yml
vendored
@ -44,6 +44,7 @@ jobs:
|
||||
run:
|
||||
shell: D:\cygwin\bin\bash.exe '{0}' # zizmor: ignore[misfeature]
|
||||
env:
|
||||
LDFLAGS: -s
|
||||
MAKEFLAGS: -j 5
|
||||
SHELLOPTS: 'igncr'
|
||||
MATRIX_BUILD: '${{ matrix.build }}'
|
||||
@ -187,6 +188,7 @@ jobs:
|
||||
run:
|
||||
shell: msys2 {0} # zizmor: ignore[misfeature]
|
||||
env:
|
||||
LDFLAGS: -s
|
||||
MAKEFLAGS: -j 5
|
||||
MATRIX_BUILD: '${{ matrix.build }}'
|
||||
MATRIX_SYS: '${{ matrix.sys }}'
|
||||
@ -417,6 +419,7 @@ jobs:
|
||||
shell: msys2 {0} # zizmor: ignore[misfeature]
|
||||
env:
|
||||
CURL_TEST_MIN: 1550
|
||||
LDFLAGS: -s
|
||||
MAKEFLAGS: -j 5
|
||||
MATRIX_DIR: '${{ matrix.dir }}'
|
||||
strategy:
|
||||
@ -601,6 +604,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
LDFLAGS: -s
|
||||
MAKEFLAGS: -j 5
|
||||
TRIPLET: 'x86_64-w64-mingw32'
|
||||
MATRIX_BUILD: '${{ matrix.build }}'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user