ci: Port Citra flatpak build to yuzu
Port Citra's travis based flatpak build to yuzu's azure build system.
This commit is contained in:
10
.ci/scripts/linux-flatpak/finish.sh
Executable file
10
.ci/scripts/linux-flatpak/finish.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash -ex
|
||||
|
||||
YUZU_SRC_DIR="/yuzu"
|
||||
REPO_DIR="$YUZU_SRC_DIR/repo"
|
||||
|
||||
# When the script finishes, unmount the repository and delete sensitive files,
|
||||
# regardless of whether the build passes or fails
|
||||
umount "$REPO_DIR" || true
|
||||
rm -rf "$REPO_DIR" "/tmp/*" || true
|
||||
|
||||
Reference in New Issue
Block a user