aboutsummaryrefslogtreecommitdiff
path: root/.ci/scripts/linux/upload.sh
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-10-08 14:51:29 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-10-10 11:55:55 -0400
commit00b0938f1070bc817bbef1b30d4567dacd29c07e (patch)
tree96b2171b8d8c3d21148831204cd661e32f3609ed /.ci/scripts/linux/upload.sh
parentbd42bba71c09010c63853867c4d80573888bff81 (diff)
ci/linux: Upload separated debug symbols
Creates a new archive with a debug suffix that contains the debug symbols from compiling yuzu for mainline. The yuzu executable also gets a GNU debug link to the symbols file. ci/linux: Compile with debug symbols and upload separately Currently only uploads for yuzu but yuzu-cmd or other future executables can be added to the for-loop's parameters.
Diffstat (limited to '.ci/scripts/linux/upload.sh')
-rwxr-xr-x.ci/scripts/linux/upload.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/.ci/scripts/linux/upload.sh b/.ci/scripts/linux/upload.sh
index e0f336427..fbb2d9c1b 100755
--- a/.ci/scripts/linux/upload.sh
+++ b/.ci/scripts/linux/upload.sh
@@ -59,4 +59,9 @@ if [ "${RELEASE_NAME}" = "mainline" ] || [ "${RELEASE_NAME}" = "early-access" ];
cp "build/${APPIMAGE_NAME}" "${DIR_NAME}/yuzu-${RELEASE_NAME}.AppImage"
fi
+# Copy debug symbols to artifacts
+cd build/bin
+tar $COMPRESSION_FLAGS "${ARTIFACTS_DIR}/${REV_NAME}-debug.tar.xz" *.debug
+cd -
+
. .ci/scripts/common/post-upload.sh