From 63f32e4d8b1e8784876407ea1c25effc275abebe Mon Sep 17 00:00:00 2001 From: Alexander Shaduri Date: Thu, 13 Feb 2025 16:25:47 +0400 Subject: [PATCH] Windows: Use older librsvg in CI to support Windows 7 (#71). --- .github/workflows/cmake-tier1.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/cmake-tier1.yml b/.github/workflows/cmake-tier1.yml index 9d3e6f6..6262cbb 100644 --- a/.github/workflows/cmake-tier1.yml +++ b/.github/workflows/cmake-tier1.yml @@ -144,6 +144,19 @@ jobs: make p7zip + - name: Downgrade Packages to support Windows 7 + # librsvg 2.59 requires Windows 8.1 or later (confirmed by dependency walker). + # We need to downgrade to 2.58. + # This contains gdk_pixbuf loader as well, and re-runs the loader cache update. + # https://repo.msys2.org/mingw/mingw32/mingw-w64-i686-librsvg-2.58.0-1-any.pkg.tar.zst + # https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-librsvg-2.58.0-1-any.pkg.tar.zst + shell: msys2 {0} + working-directory: ${{github.workspace}} + run: | + pacman -S wget + wget https://repo.msys2.org/mingw/mingw64/mingw-w64-${{ matrix.arch }}-librsvg-2.58.0-1-any.pkg.tar.zst + pacman -U --noconfirm mingw-w64-${{ matrix.arch }}-librsvg-2.58.0-1-any.pkg.tar.zst + - name: Download Package Requirements shell: msys2 {0} working-directory: ${{github.workspace}}