-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: fix lang file compilation in windows msvc (#4298)
ci: fix lang file compilation in windows explicitly compile gettext on msys2. Co-authored-by: Andrew Krieger <[email protected]>
- Loading branch information
Showing
1 changed file
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -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: | | ||
|