mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 11:44:55 +00:00
CI: Separate & upload debug info for Linux/macOS
This commit is contained in:
@@ -8,7 +8,7 @@ chmod +x linuxdeploy-$(uname -m).AppImage linuxdeploy-plugin-qt-$(uname -m).AppI
|
||||
# Build AppImage
|
||||
mkdir -p appdir/usr/{bin,share/{applications,icons/hicolor}}
|
||||
cp build/Binaries/{hecl,hecl-gui,urde,visigen} appdir/usr/bin
|
||||
strip -s appdir/usr/bin/{hecl,hecl-gui,urde,visigen}
|
||||
strip -S appdir/usr/bin/{hecl,hecl-gui,urde,visigen}
|
||||
cp -r Editor/platforms/freedesktop/{16x16,32x32,48x48,64x64,128x128,256x256,512x512,1024x1024} appdir/usr/share/icons/hicolor
|
||||
cp Editor/platforms/freedesktop/urde.desktop appdir/usr/share/applications
|
||||
sed -i 's/Exec=.*/Exec=hecl-gui/' appdir/usr/share/applications/urde.desktop
|
||||
|
||||
7
ci/upload-debug-linux.sh
Executable file
7
ci/upload-debug-linux.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash -ex
|
||||
cd build/Binaries
|
||||
for f in hecl hecl-gui urde visigen; do
|
||||
objcopy --only-keep-debug $f $f.dbg
|
||||
done
|
||||
strip -S hecl hecl-gui urde visigen
|
||||
sentry-cli upload-dif --org axiodl --project urde {hecl,hecl-gui,urde,visigen}{,.dbg} --include-sources
|
||||
8
ci/upload-debug-macos.sh
Executable file
8
ci/upload-debug-macos.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash -ex
|
||||
cd build/Binaries/hecl-gui.app/Contents/MacOS
|
||||
for f in hecl hecl-gui urde visigen; do
|
||||
dsymutil $f
|
||||
done
|
||||
strip -S hecl hecl-gui urde visigen crashpad_handler
|
||||
sentry-cli upload-dif --org axiodl --project urde {hecl,hecl-gui,urde,visigen}{,.dSYM} --include-sources
|
||||
rm -r -- *.dSYM
|
||||
Reference in New Issue
Block a user