mirror of
https://github.com/clangd/clangd.git
synced 2025-06-05 15:54:59 +00:00
Strip binary after build
This saves up 70MiB per release
This commit is contained in:
parent
6e7f5968ba
commit
6511cae547
3
.github/workflows/autobuild.yaml
vendored
3
.github/workflows/autobuild.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user