diff options
| author | Djihads80 <mahboubijoujou111@gmail.com> | 2026-10-29 21:46:19 +0100 |
|---|---|---|
| committer | Djihads80 <mahboubijoujou111@gmail.com> | 2026-10-29 21:46:19 +0100 |
| commit | 08ea12af18f17aa257849453c8d16778ca11594c (patch) | |
| tree | 78953a6bce81a338f6584d1a6a155f40956e2593 /.github | |
| parent | 50c9fd3471d5f0170a7495ee10fd8b0b2f0298e1 (diff) | |
ci: use MSVC-compatible Qt for Windows release
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/release-binaries.yml | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml index 8a48654cde..21ca62909a 100644 --- a/.github/workflows/release-binaries.yml +++ b/.github/workflows/release-binaries.yml @@ -60,6 +60,17 @@ jobs: if: matrix.platform == 'windows-x86_64' uses: ilammy/msvc-dev-cmd@v1 + - name: Install Qt on Windows + if: matrix.platform == 'windows-x86_64' + uses: jurplel/install-qt-action@v4 + with: + version: '6.8.3' + host: windows + target: desktop + arch: win64_msvc2022_64 + modules: qtcharts + cache: true + - name: Install Vulkan SDK on Windows if: matrix.platform == 'windows-x86_64' shell: pwsh @@ -90,6 +101,7 @@ jobs: -DYUZU_ROOM=OFF -DYUZU_ROOM_STANDALONE=OFF -DYUZU_USE_BUNDLED_QT=OFF + -DCMAKE_PREFIX_PATH="$QT_ROOT_DIR" -DYUZU_USE_BUNDLED_SDL3=ON -DVulkanHeaders_FORCE_BUNDLED=ON -DVulkanUtilityLibraries_FORCE_BUNDLED=ON @@ -107,7 +119,7 @@ jobs: -DYUZU_CMD=ON -DYUZU_ROOM=OFF -DYUZU_ROOM_STANDALONE=OFF - -DYUZU_USE_BUNDLED_QT=ON + -DYUZU_USE_BUNDLED_QT=OFF -DYUZU_USE_BUNDLED_SDL3=ON -DENABLE_UPDATE_CHECKER=OFF -DUSE_DISCORD_PRESENCE=OFF @@ -130,7 +142,8 @@ jobs: if (-not (Test-Path build/release/bin/eglantine.exe)) { throw 'build/release/bin/eglantine.exe was not produced' } - Compress-Archive -Path build/release/bin/eglantine.exe -DestinationPath "eglantine-${env:GITHUB_SHA}-windows-x86_64.zip" + windeployqt --release --no-translations build/release/bin/eglantine.exe + Compress-Archive -Path build/release/bin/* -DestinationPath "eglantine-${env:GITHUB_SHA}-windows-x86_64.zip" - name: Upload binary uses: actions/upload-artifact@v4 |
