From 86295a8d36b45b1a61dc398d9e290e50e9f373a6 Mon Sep 17 00:00:00 2001 From: arch1t3cht Date: Fri, 8 Mar 2024 01:40:38 +0100 Subject: [PATCH] Install gettext on Windows CI Apparently this is no longer installed by default. --- .github/workflows/ci.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae6b4c798..6eec487d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,12 +97,21 @@ jobs: if: matrix.config.os == 'windows-latest' run: | choco install ninja innosetup - $url = "https://github.com/leafo/moonscript/releases/download/win32-v0.5.0/moonscript-187bac54ee5a7450013e9c38e005a0e671b76f45.zip" + + $moonscripturl = "https://github.com/leafo/moonscript/releases/download/win32-v0.5.0/moonscript-187bac54ee5a7450013e9c38e005a0e671b76f45.zip" mkdir moonscript - Invoke-WebRequest -Uri $url -OutFile ".\moonscript\moonscript.zip" - cd moonscript + Invoke-WebRequest -Uri $moonscripturl -OutFile ".\moonscript\moonscript.zip" + pushd moonscript 7z e moonscript.zip Get-Location | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + popd + + $gettexturl = "https://github.com/mlocati/gettext-iconv-windows/releases/download/v0.21-v1.16/gettext0.21-iconv1.16-static-64.zip" + Invoke-WebRequest -Uri $gettexturl -OutFile ".\gettext.zip" + Expand-Archive ".\gettext.zip" -DestinationPath gettext + pushd gettext/bin + Get-Location | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + popd - name: Install dependencies (MacOS) if: matrix.config.os == 'macos-latest'