From 6511cae547cb1d6c44bd1c88104aede157bd37a5 Mon Sep 17 00:00:00 2001 From: Ignacio Vizzo Date: Fri, 8 Sep 2023 16:01:52 +0100 Subject: [PATCH] Strip binary after build This saves up 70MiB per release --- .github/workflows/autobuild.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/autobuild.yaml b/.github/workflows/autobuild.yaml index 682c490..b915ad5 100644 --- a/.github/workflows/autobuild.yaml +++ b/.github/workflows/autobuild.yaml @@ -295,6 +295,9 @@ jobs: run: > cp ${{ env.CLANGD_DIR }}/projects/openmp/runtime/src/omp{,-tools}.h ${{ env.CLANGD_DIR }}/lib/clang/*/include || true # Don't let the non-existing omp headers block the release. + - name: Strip clangd + run: > + strip --strip-all ${{ env.CLANGD_DIR }}/bin/clangd${{ matrix.config.binary_extension }} - name: Archive clangd run: > 7z a clangd.zip