forked from mirrors/principia
Upload debug symbols for Linux artifact
This commit is contained in:
parent
0b0c9a15a2
commit
7085fbabe3
2 changed files with 14 additions and 3 deletions
|
|
@ -17,11 +17,16 @@ fi
|
|||
# Remove old appdir
|
||||
rm -rf AppDir
|
||||
|
||||
# Compile and install into AppDir
|
||||
cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=AppDir/usr/
|
||||
# Compile
|
||||
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=AppDir/usr/
|
||||
ninja
|
||||
ninja install
|
||||
|
||||
# Strip binary and create debug symbol file
|
||||
objcopy --only-keep-debug principia principia.debug
|
||||
objcopy --strip-debug --add-gnu-debuglink=principia.debug principia
|
||||
|
||||
# Install into AppDir
|
||||
ninja install
|
||||
cd AppDir
|
||||
|
||||
# Put desktop and icon at root
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue