Skip to content

Commit

Permalink
ci: Strip Windows release executables
Browse files Browse the repository at this point in the history
  • Loading branch information
mborgerson committed Dec 31, 2024
1 parent 8184d5e commit f3a8610
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,14 @@ jobs:
7z x -ocv2pdb -y cv2pdb.zip
cd ${{ matrix.artifact_name }}
../cv2pdb/cv2pdb64.exe xemu.exe
- name: Strip binary
shell: bash
if: matrix.configuration == 'Release'
run: |
sudo apt install binutils-mingw-w64-x86-64
x86_64-w64-mingw32-strip xemu.exe
- name: Package
run:
mkdir ../dist
7z a -tzip ../dist/${{ matrix.artifact_name }}.zip * "-xr!*.pdb"
7z a -tzip ../dist/${{ matrix.artifact_name }}-pdb.zip "-ir!*.pdb"
Expand Down

0 comments on commit f3a8610

Please sign in to comment.