Sfoglia il codice sorgente

Enable Windows MinGW artifacts.

Fijxu 2 anni fa
parent
commit
be31d5f56c
2 ha cambiato i file con 8 aggiunte e 5 eliminazioni
  1. 6 3
      .ci/scripts/windows/docker.sh
  2. 2 2
      .forgejo/workflows/verify.yml

+ 6 - 3
.ci/scripts/windows/docker.sh

@@ -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 \

+ 2 - 2
.forgejo/workflows/verify.yml

@@ -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