summaryrefslogtreecommitdiff
path: root/.ci/scripts/windows/docker.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci/scripts/windows/docker.sh')
-rwxr-xr-x[-rw-r--r--].ci/scripts/windows/docker.sh22
1 files changed, 8 insertions, 14 deletions
diff --git a/.ci/scripts/windows/docker.sh b/.ci/scripts/windows/docker.sh
index beb554b65..d53281741 100644..100755
--- a/.ci/scripts/windows/docker.sh
+++ b/.ci/scripts/windows/docker.sh
@@ -4,22 +4,10 @@ cd /yuzu
4 4
5ccache -s 5ccache -s
6 6
7# Dirty hack to trick unicorn makefile into believing we are in a MINGW system
8mv /bin/uname /bin/uname1 && echo -e '#!/bin/sh\necho MINGW64' >> /bin/uname
9chmod +x /bin/uname
10
11# Dirty hack to trick unicorn makefile into believing we have cmd
12echo '' >> /bin/cmd
13chmod +x /bin/cmd
14
15mkdir build || true && cd build 7mkdir build || true && cd build
16cmake .. -G Ninja -DDISPLAY_VERSION=$1 -DCMAKE_TOOLCHAIN_FILE="$(pwd)/../CMakeModules/MinGWCross.cmake" -DUSE_CCACHE=ON -DYUZU_USE_BUNDLED_UNICORN=ON -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_VULKAN=No 8cmake .. -G Ninja -DDISPLAY_VERSION=$1 -DCMAKE_TOOLCHAIN_FILE="$(pwd)/../CMakeModules/MinGWCross.cmake" -DUSE_CCACHE=ON -DYUZU_USE_BUNDLED_UNICORN=ON -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DCMAKE_BUILD_TYPE=Release
17ninja 9ninja
18 10
19# Clean up the dirty hacks
20rm /bin/uname && mv /bin/uname1 /bin/uname
21rm /bin/cmd
22
23ccache -s 11ccache -s
24 12
25echo "Tests skipped" 13echo "Tests skipped"
@@ -29,7 +17,13 @@ echo 'Prepare binaries...'
29cd .. 17cd ..
30mkdir package 18mkdir package
31 19
32QT_PLATFORM_DLL_PATH='/usr/x86_64-w64-mingw32/lib/qt5/plugins/platforms/' 20if [ -d "/usr/x86_64-w64-mingw32/lib/qt5/plugins/platforms/" ]; then
21 QT_PLATFORM_DLL_PATH='/usr/x86_64-w64-mingw32/lib/qt5/plugins/platforms/'
22else
23 #fallback to qt
24 QT_PLATFORM_DLL_PATH='/usr/x86_64-w64-mingw32/lib/qt/plugins/platforms/'
25fi
26
33find build/ -name "yuzu*.exe" -exec cp {} 'package' \; 27find build/ -name "yuzu*.exe" -exec cp {} 'package' \;
34 28
35# copy Qt plugins 29# copy Qt plugins