2020-03-27 14:37:27 +01:00
|
|
|
#!/bin/sh -ex
|
|
|
|
|
|
2025-02-28 08:08:52 +01:00
|
|
|
# First let's see print some info about our caches
|
|
|
|
|
"$(cygpath -u "$CCACHE_BIN_DIR")"/ccache.exe --show-stats -v
|
|
|
|
|
|
2020-03-27 14:37:27 +01:00
|
|
|
# Remove unecessary files
|
2025-04-03 15:28:56 +02:00
|
|
|
rm -f ./rpcs3/bin/rpcs3.exp ./rpcs3/bin/rpcs3.lib ./rpcs3/bin/rpcs3.pdb ./rpcs3/bin/vc_redist.x64.exe
|
|
|
|
|
rm -rf ./rpcs3/bin/git
|
2020-03-27 14:37:27 +01:00
|
|
|
|
2023-12-06 18:52:27 +01:00
|
|
|
# Prepare compatibility and SDL database for packaging
|
2025-04-09 21:14:51 +02:00
|
|
|
mkdir -p ./rpcs3/bin/config/input_configs
|
2025-04-03 15:28:56 +02:00
|
|
|
curl -fsSL 'https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt' 1> ./rpcs3/bin/config/input_configs/gamecontrollerdb.txt
|
2025-04-07 16:24:10 +02:00
|
|
|
cp -rf ./build-msvc/bin/ ./rpcs3/bin/
|
2023-12-06 18:52:27 +01:00
|
|
|
|
2020-03-27 14:37:27 +01:00
|
|
|
# Package artifacts
|
2025-04-03 15:28:56 +02:00
|
|
|
7z a -m0=LZMA2 -mx9 "$BUILD" ./rpcs3/bin/*
|
2020-03-27 14:37:27 +01:00
|
|
|
|
|
|
|
|
# Move files to publishing directory
|
2025-04-09 21:14:51 +02:00
|
|
|
cp -- "$BUILD" ./RPCS3-Qt-UI.7z
|