ci: dump crashpad symbols on linux

This commit is contained in:
itsmattkc
2021-04-01 11:47:31 +11:00
parent 8a60f3ad65
commit 6abe38b629
3 changed files with 20 additions and 7 deletions
+10
View File
@@ -80,7 +80,17 @@ jobs:
env:
ARCH: x86_64
run: |
# Create install tree
cmake --install app --prefix appdir/usr
# Dump Crashpad symbols
dump_syms app/olive-editor > olive-editor.sym
SYM_HEADER=($(head -n 1 olive-editor.sym)) # Read first line of symbol file
SYM_DIR=appdir/usr/share/olive-editor/symbols/olive-editor/${SYM_HEADER[3]}
mkdir -p "$SYM_DIR"
mv olive-editor.sym "$SYM_DIR"
# Package AppImage
VERSION=${GITHUB_SHA::8}
export VERSION
/usr/local/linuxdeployqt-x86_64.AppImage \