From cfdc275a8868530a135f3c5611abdcdd8104d3ba Mon Sep 17 00:00:00 2001 From: deepend Date: Fri, 13 Feb 2026 21:40:35 -0700 Subject: [PATCH] Updated the Windows GitHub Actions workflow to stop cloning/installing gvsbuild and running gvsbuild build for GTK dependencies, and instead download/extract the precompiled GTK archive you specified (gtk-x64-2026.7z). Preserved the existing Win32 alias junction logic, but now gate it on both the win32 matrix target and the presence of C:\gtk-build\gtk\x86 from the extracted archive. --- .github/workflows/windows-build.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 0d9228d1..15258ad8 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -72,12 +72,10 @@ jobs: python -m pip install --upgrade pip python -m pip install cffi - git clone --depth 1 https://github.com/ZoiteChat/gvsbuild.git C:\gtk-build\github\gvsbuild - python -m pip install C:\gtk-build\github\gvsbuild + Invoke-WebRequest https://github.com/ZoiteChat/gvsbuild/releases/download/zoitechat-2.18.0-pre1/gtk-x64-2026.7z -OutFile deps\gtk.7z + & 7z.exe x deps\gtk.7z -oC:\gtk-build - $gvsPlatform = if ("${{ matrix.platform }}" -eq "win32") { "x86" } else { "x64" } - gvsbuild build --vs-ver vs2019 --configuration release --platform $gvsPlatform gtk3 openssl lgi luajit libxml2 enchant gstreamer hicolor-icon-theme - if ($gvsPlatform -eq "x86") { + if ("${{ matrix.platform }}" -eq "win32" -and (Test-Path "C:\gtk-build\gtk\x86")) { $gtkRoot = "C:\gtk-build\gtk" foreach ($alias in @("Win32", "win32")) { $aliasPath = Join-Path $gtkRoot $alias