Strip binary after build

This saves up 70MiB per release
This commit is contained in:
Ignacio Vizzo 2023-09-08 16:01:52 +01:00
parent 6e7f5968ba
commit 6511cae547

View File

@ -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