Enable Windows MinGW artifacts.

This commit is contained in:
Fijxu 2024-04-02 14:12:27 -03:00
parent b911ac8516
commit be31d5f56c
Signed by: Fijxu
GPG key ID: 32C1DDF333EDA6A4
2 changed files with 8 additions and 5 deletions

View file

@ -1,6 +1,7 @@
#!/bin/bash -ex
# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
# SPDX-FileCopyrightText: 2024 suyu Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later
set -e
@ -9,12 +10,14 @@ set -e
ccache -sv
rm -rf build
mkdir -p build && cd build
cmake .. \
/usr/bin/x86_64-w64-mingw32-cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_TOOLCHAIN_FILE="${PWD}/../CMakeModules/MinGWCross.cmake" \
-DDISPLAY_VERSION="$1" \
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
-DDYNARMIC_USE_PRECOMPILED_HEADERS=OFF \
-DSUYU_USE_PRECOMPILED_HEADERS=OFF \
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=OFF \
-DENABLE_QT_TRANSLATION=ON \
-DUSE_CCACHE=ON \
-DSUYU_USE_BUNDLED_SDL2=OFF \

View file

@ -63,8 +63,8 @@ jobs:
image: linux-fresh
- type: linux
image: linux-fresh
# - type: windows
# image: linux-mingw
- type: windows
image: linux-mingw
container: fijxu/build-environments:${{ matrix.image }}
# User 1001 doesn't exists on the images.
# options: -u 1001