From 1d2a8bcf96f89cfbb6c065d20a7105b36c828e89 Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Wed, 18 Dec 2024 01:15:52 +0100 Subject: [PATCH] iterate --- .github/workflows/gdextension.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gdextension.yml b/.github/workflows/gdextension.yml index a3c4852..52f7817 100644 --- a/.github/workflows/gdextension.yml +++ b/.github/workflows/gdextension.yml @@ -274,6 +274,7 @@ jobs: if: matrix.opts.platform == 'web' run: | emcc -v + llvm-objcopy --help - name: Set up scons if: matrix.opts.platform != 'linux' @@ -360,9 +361,9 @@ jobs: if: inputs.debug-symbols && matrix.opts.platform == 'web' shell: bash run: | - ls -R emsdk-cache/ - echo "---" - echo ${PATH} + emstrip --only-keep-debug -o ${{matrix.opts.bin}}.debug ${{matrix.opts.bin}} + emstrip --strip-debug ${{matrix.opts.bin}} + llvm-objcopy --add-gnu-debuglink ${{matrix.opts.bin}}.debug ${{matrix.opts.bin}} - name: Split debug symbols (Android) if: inputs.debug-symbols && matrix.opts.platform == 'android'