From 200a44d66844e55754b808528b8e94e3caa9ba7a Mon Sep 17 00:00:00 2001 From: Jason Naylor Date: Wed, 6 Mar 2024 13:44:39 -0800 Subject: [PATCH] Install piglatin font for the current user to enable graphite tests Change-Id: Ifea2f5a2f4101997c717bc8423c254e031dc3d3d --- .github/workflows/CI.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2adbb10f1d..f41b0b59b5 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -40,15 +40,22 @@ jobs: 2.1.x 3.1.x 5.0.x - - uses: actions/setup-go@v5 - with: - go-version: 'stable' - name: Prepare for build shell: cmd working-directory: Build run: build64.bat /t:WriteNonlocalDevelopmentPropertiesFile + - name: Copy fonts for views tests + shell: cmd + run: | + echo "Starting user font installation." + mkdir %localappdata%\Microsoft\Windows\Fonts + copy DistFiles\Graphite\pl\piglatin.ttf "%localappdata%\Microsoft\Windows\Fonts" + dir "%localappdata%\Microsoft\Windows\Fonts" + echo "User font installation complete." + + - name: Build Debug and run tests id: build_and_test shell: powershell