Updated the Windows CI gvsbuild invocation to use the named Visual Studio version vs2022 instead of the numeric value, matching current gvsbuild options.

This commit is contained in:
2026-02-03 11:39:58 -07:00
parent 92a35ea3e9
commit 995cba88ff

View File

@@ -76,7 +76,7 @@ jobs:
python -m pip install C:\gtk-build\github\gvsbuild python -m pip install C:\gtk-build\github\gvsbuild
$gvsPlatform = if ("${{ matrix.platform }}" -eq "win32") { "x86" } else { "x64" } $gvsPlatform = if ("${{ matrix.platform }}" -eq "win32") { "x86" } else { "x64" }
gvsbuild build --vs-ver 16 --configuration release --platform $gvsPlatform gtk3 gvsbuild build --vs-ver vs2022 --configuration release --platform $gvsPlatform gtk3
if ($gvsPlatform -eq "x86") { if ($gvsPlatform -eq "x86") {
$gtkRoot = "C:\gtk-build\gtk" $gtkRoot = "C:\gtk-build\gtk"