Skip to content

Commit 28c5082

Browse files
authored
Fix Windows CI vcpkg checksum issue (#256)
* Fix Windows workflow vcpkg pango checksum mismatch issue * Attempt 2 * Attempt 3 * Attempt 4 * Attempt 5 * Attempt 6 * Attempt 7
1 parent 734b5df commit 28c5082

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build-test-and-docs.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,16 @@ jobs:
202202
path: vcpkg_installed
203203
key: vcpkg-${{ steps.triplet.outputs.lowercase }}-${{ hashFiles('vcpkg.json') }}
204204

205+
- name: Apply GNOME-pango checksum fix (issue caused by Anubis)
206+
if: steps.cache.outputs.cache-hit != 'true'
207+
run: |
208+
# This fix is from @Kwizatz: https://github.com/microsoft/vcpkg/issues/47984#issuecomment-3471327762
209+
mkdir C:\vcpkg\downloads
210+
curl -o C:\vcpkg\downloads\GNOME-pango-1.56.1.tar.gz "https://gitlab.gnome.org//GNOME/pango/-/archive/1.56.1/pango-1.56.1.tar.gz"
211+
curl -o C:\vcpkg\downloads\GNOME-gdk-pixbuf-2.42.12.tar.gz "https://gitlab.gnome.org//GNOME/gdk-pixbuf/-/archive/2.42.12/gdk-pixbuf-2.42.12.tar.gz"
212+
curl -o C:\vcpkg\downloads\GNOME-atk-2.38.0.tar.gz "https://gitlab.gnome.org/Archive/atk/-/archive/2.38.0/atk-2.38.0.tar.gz"
213+
curl -o C:\vcpkg\downloads\GNOME-gtk-4.16.3.tar.gz "https://gitlab.gnome.org//GNOME/gtk/-/archive/4.16.3/gtk-4.16.3.tar.gz"
214+
205215
- name: Build and Install Dependencies
206216
if: steps.cache.outputs.cache-hit != 'true'
207217
env:

0 commit comments

Comments
 (0)