From 3b531130df23b78bf11491fa24bb9807b62250c5 Mon Sep 17 00:00:00 2001 From: Kesara Rathnayake Date: Thu, 17 Oct 2024 16:16:13 +1300 Subject: [PATCH] ci: Install fonts on windows with font-install --- .github/workflows/checks.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index c43e0f8f..f071a955 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -170,17 +170,18 @@ jobs: - name: Install Fonts shell: pwsh - working-directory: .github/scripts run: | - Invoke-WebRequest -Uri 'https://github.com/ietf-tools/common/raw/main/scripts/font-install/font-install.exe' -OutFile font-install.exe - & ./font-install.exe -debug https://github.com/ietf-tools/xml2rfc-fonts/archive/refs/tags/3.22.0.zip + go install github.com/Crosse/font-install@latest + $env:GOPATH = (go env GOPATH) + $env:Path += ";$env:GOPATH\bin" + font-install https://github.com/ietf-tools/xml2rfc-fonts/archive/refs/tags/3.22.0.zip - name: Install dependencies shell: pwsh run: | Invoke-WebRequest -Uri 'https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2022-01-04/gtk3-runtime-3.24.31-2022-01-04-ts-win64.exe' -OutFile gtk.exe & ./gtk.exe /S - choco install make + choco install make pango echo "Installing pip + wheel..." python -m pip install --upgrade pip wheel echo "Installing requirements.txt + test dependencies..."