ci: extract symbols after deploy
It's best to extract the symbols after any changes are made to the executable.
This commit is contained in:
@@ -351,13 +351,6 @@ jobs:
|
|||||||
$DOWNLOAD_TOOL https://github.com/arl/macdeployqtfix/raw/master/macdeployqtfix.py
|
$DOWNLOAD_TOOL https://github.com/arl/macdeployqtfix/raw/master/macdeployqtfix.py
|
||||||
python2 macdeployqtfix.py $BUNDLE_NAME/Contents/MacOS/Olive $DEP_LOCATION
|
python2 macdeployqtfix.py $BUNDLE_NAME/Contents/MacOS/Olive $DEP_LOCATION
|
||||||
|
|
||||||
# Crashpad symbols
|
|
||||||
$DEP_LOCATION/bin/dump_syms $BUNDLE_NAME/Contents/MacOS/Olive > Olive.sym
|
|
||||||
SYM_HEADER=($(head -n 1 Olive.sym)) # Read first line of symbol file
|
|
||||||
SYM_DIR=$BUNDLE_NAME/Contents/Resources/symbols/Olive/${SYM_HEADER[3]}
|
|
||||||
mkdir -p "$SYM_DIR"
|
|
||||||
mv Olive.sym "$SYM_DIR"
|
|
||||||
|
|
||||||
# Manual fixes
|
# Manual fixes
|
||||||
cp $DEP_LOCATION/lib/libopentimelineio.dylib $BUNDLE_NAME/Contents/Frameworks
|
cp $DEP_LOCATION/lib/libopentimelineio.dylib $BUNDLE_NAME/Contents/Frameworks
|
||||||
cp $DEP_LOCATION/lib/libopentime.dylib $BUNDLE_NAME/Contents/Frameworks
|
cp $DEP_LOCATION/lib/libopentime.dylib $BUNDLE_NAME/Contents/Frameworks
|
||||||
@@ -367,6 +360,13 @@ jobs:
|
|||||||
install_name_tool -change libmodplug.dylib @rpath/libmodplug.dylib $BUNDLE_NAME/Contents/Frameworks/libavformat.*
|
install_name_tool -change libmodplug.dylib @rpath/libmodplug.dylib $BUNDLE_NAME/Contents/Frameworks/libavformat.*
|
||||||
install_name_tool -change libmodplug.dylib @rpath/libmodplug.dylib $BUNDLE_NAME/Contents/Frameworks/libavfilter.*
|
install_name_tool -change libmodplug.dylib @rpath/libmodplug.dylib $BUNDLE_NAME/Contents/Frameworks/libavfilter.*
|
||||||
|
|
||||||
|
# Crashpad symbols
|
||||||
|
$DEP_LOCATION/bin/dump_syms $BUNDLE_NAME/Contents/MacOS/Olive > Olive.sym
|
||||||
|
SYM_HEADER=($(head -n 1 Olive.sym)) # Read first line of symbol file
|
||||||
|
SYM_DIR=$BUNDLE_NAME/Contents/Resources/symbols/Olive/${SYM_HEADER[3]}
|
||||||
|
mkdir -p "$SYM_DIR"
|
||||||
|
mv Olive.sym "$SYM_DIR"
|
||||||
|
|
||||||
- name: Deploy Packages
|
- name: Deploy Packages
|
||||||
working-directory: ${{ runner.workspace }}/build
|
working-directory: ${{ runner.workspace }}/build
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user