mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-15 12:13:58 +00:00
CI: Install gettext for Windows
Before that the gettext command shipping with git for Windows were used. Since git 2.44.0 these are no longer bundled. # Conflicts: # .github/workflows/package-pypi.yml # .github/workflows/package-windows.yml
This commit is contained in:
10
.github/workflows/package-pypi.yml
vendored
10
.github/workflows/package-pypi.yml
vendored
@@ -85,6 +85,16 @@ jobs:
|
||||
brew install gettext
|
||||
brew link gettext --force
|
||||
echo "/usr/local/opt/gettext/bin" >> $GITHUB_PATH
|
||||
- name: Install gettext (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
run: |
|
||||
& .\scripts\package\win-setup-gettext.ps1 `
|
||||
-GettextVersion $Env:GETTEXT_VERSION -GettextSha256Sum $Env:GETTEXT_SHA256SUM
|
||||
Add-Content $env:GITHUB_PATH (Join-Path -Path (Resolve-Path .) -ChildPath gettext\bin)
|
||||
shell: pwsh
|
||||
env:
|
||||
GETTEXT_VERSION: 0.22.4
|
||||
GETTEXT_SHA256SUM: 220068ac0b9e7aedda03534a3088e584640ac1e639800b3a0baa9410aa6d012a
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
|
||||
8
.github/workflows/package.yml
vendored
8
.github/workflows/package.yml
vendored
@@ -154,6 +154,14 @@ jobs:
|
||||
DISCID_SHA256SUM: 330199495d71f71251e91eb0b4e3103b6c663fea09ffc9fd3e5108d48e0452c8
|
||||
FPCALC_VERSION: 1.5.1
|
||||
FPCALC_SHA256SUM: 36b478e16aa69f757f376645db0d436073a42c0097b6bb2677109e7835b59bbc
|
||||
- name: Install gettext
|
||||
run: |
|
||||
& .\scripts\package\win-setup-gettext.ps1 `
|
||||
-GettextVersion $Env:GETTEXT_VERSION -GettextSha256Sum $Env:GETTEXT_SHA256SUM
|
||||
Add-Content $env:GITHUB_PATH (Join-Path -Path (Resolve-Path .) -ChildPath gettext\bin)
|
||||
env:
|
||||
GETTEXT_VERSION: 0.22.4
|
||||
GETTEXT_SHA256SUM: 220068ac0b9e7aedda03534a3088e584640ac1e639800b3a0baa9410aa6d012a
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
|
||||
9
.github/workflows/run-tests.yml
vendored
9
.github/workflows/run-tests.yml
vendored
@@ -122,6 +122,15 @@ jobs:
|
||||
brew install gettext
|
||||
brew link gettext --force
|
||||
echo "/usr/local/opt/gettext/bin" >> $GITHUB_PATH
|
||||
- name: Install gettext (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
run: |
|
||||
& .\scripts\package\win-setup-gettext.ps1 `
|
||||
-GettextVersion $Env:GETTEXT_VERSION -GettextSha256Sum $Env:GETTEXT_SHA256SUM
|
||||
Add-Content $env:GITHUB_PATH (Join-Path -Path (Resolve-Path .) -ChildPath gettext\bin)
|
||||
env:
|
||||
GETTEXT_VERSION: 0.22.4
|
||||
GETTEXT_SHA256SUM: 220068ac0b9e7aedda03534a3088e584640ac1e639800b3a0baa9410aa6d012a
|
||||
- name: Run pip install .
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
|
||||
Reference in New Issue
Block a user