metaforce/ci/split-debug-linux.sh

7 lines
231 B
Bash
Raw Normal View History

2021-04-07 15:12:50 +00:00
#!/bin/bash -ex
cd build/Binaries
for f in hecl metaforce-gui metaforce visigen; do
objcopy --only-keep-debug $f $f.dbg
2021-04-07 15:12:50 +00:00
objcopy --strip-debug --add-gnu-debuglink=$f.dbg $f
done
tar acfv "$GITHUB_WORKSPACE"/debug.tar.xz -- *.dbg