From cdacfc106ddf5386ad00bb2e903a811f6a16b82f Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Tue, 12 Nov 2024 13:49:19 +0900 Subject: [PATCH] Add `strip --strip-unneeded` to debian builds (ci) --- .forgejo/workflows/build_releases.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.forgejo/workflows/build_releases.yaml b/.forgejo/workflows/build_releases.yaml index e1aaf7b..4346a0e 100644 --- a/.forgejo/workflows/build_releases.yaml +++ b/.forgejo/workflows/build_releases.yaml @@ -172,6 +172,8 @@ jobs: cmake -S . -B buildRelease -DCMAKE_BUILD_TYPE=Release make -C buildRelease c_simple_http + strip --strip-unneeded buildRelease/c_simple_http + popd >&/dev/null zstd --ultra -20 c_simple_http_clone/buildRelease/c_simple_http -o "${BUILD_ASSET_NAME}" @@ -233,6 +235,8 @@ jobs: cmake -S . -B buildRelease -DCMAKE_BUILD_TYPE=Release make -C buildRelease c_simple_http + strip --strip-unneeded buildRelease/c_simple_http + popd >&/dev/null zstd --ultra -20 c_simple_http_clone/buildRelease/c_simple_http -o "${BUILD_ASSET_NAME}"