From a7ce1d12255089d796ff303bd2e258ec2b1cef5e Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Mon, 1 May 2023 17:26:12 +0200 Subject: [PATCH] CI: Strip gdb.exe --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 559d40043..27646b23f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -834,6 +834,11 @@ jobs: working-directory: build run: find . -type f \( -iname \*.dll -o -iname \*.exe \) -exec /strawberry-mxe/usr/bin/${{matrix.arch}}-w64-mingw32.shared-strip {} \; + - name: Strip gdb.exe + if: matrix.build_type == 'debug' + working-directory: build + run: /strawberry-mxe/usr/bin/${{matrix.arch}}-w64-mingw32.shared-strip gdb.exe + - name: Copy nsis files working-directory: build run: cp ${GITHUB_WORKSPACE}/dist/windows/*.nsi ${GITHUB_WORKSPACE}/dist/windows/*.nsh ${GITHUB_WORKSPACE}/dist/windows/*.ico .