Skip to content

Commit

Permalink
ci: fix lang file compilation in windows msvc (#4298)
Browse files Browse the repository at this point in the history
ci: fix lang file compilation in windows

explicitly compile gettext on msys2.

Co-authored-by: Andrew Krieger <[email protected]>
  • Loading branch information
scarf005 and akrieger authored Mar 4, 2024
1 parent 8bb6364 commit 5f11abf
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,16 @@ jobs:
commit url: https://github.com/${{ github.repository }}/commit/${{ github.sha }}
EOL
- name: Setup msys2 (windows msvc)
if: runner.os == 'Windows'
uses: msys2/setup-msys2@v2
with: { msystem: mingw64, install: gettext }

- name: Compile translations (windows msvc)
if: runner.os == 'Windows'
shell: msys2 {0}
run: lang/compile_mo.sh all

- name: Install MSBuild (windows msvc)
if: runner.os == 'Windows'
uses: microsoft/[email protected]
Expand Down Expand Up @@ -241,12 +251,6 @@ jobs:
HOMEBREW_NO_AUTO_UPDATE=yes HOMEBREW_NO_INSTALL_CLEANUP=yes brew install sdl2 sdl2_image sdl2_ttf sdl2_mixer gettext ccache parallel
pip3 install mac_alias==2.2.0 dmgbuild==1.6.1 biplist
- name: Compile translations (windows)
if: runner.os == 'Windows'
shell: bash
run: |
lang/compile_mo.sh all
- name: Build CBN (linux)
if: runner.os == 'Linux' && matrix.mxe == 'none' && matrix.android == 'none'
run: |
Expand Down

0 comments on commit 5f11abf

Please sign in to comment.