Only strip debug symbols on Android Since we now compile a static lib file, the strip command is too aggressive. It was originally intended for the .so file. This fixes the issue. This is an imported pull request from https://github.com/google/dawn/pull/46 # No-Try because this only affects github workflow config No-Try: true GITHUB_PR_HEAD_SHA=dabb46a09cebad35c011a0730678b8bfce3ed1fa ORIGINAL_AUTHOR=William Candillon <wcandillon@gmail.com> GitOrigin-RevId: 143b39b9b7e66c73de422c2986fdd3db81cb38fd Change-Id: I44f1b0d8c0a53f0431d0917721b5f52485ffd074 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/264714 Reviewed-by: dan sinclair <dsinclair@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org>
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef77feb..5834df2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml
@@ -194,9 +194,9 @@ -DCMAKE_BUILD_TYPE=Release ninja -C ${{ matrix.output_dir }} - - name: Strip Android binaries + - name: Strip debug symbols run: | - ${{ matrix.strip_tool }} ${{ matrix.output_dir }}/${{ matrix.library_path }} + ${{ matrix.strip_tool }} --strip-debug ${{ matrix.output_dir }}/${{ matrix.library_path }} - name: Upload build artifacts uses: actions/upload-artifact@v4