ci: dump crashpad symbols on linux
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user