Skip to content

Conversation

@chrisd8088
Copy link
Member

As of Git for Windows v2.44, the msgfmt.exe binary is no longer installed by default and is therefore not available in the GitHub Actions runners we use for our CI and release jobs. We instead use the git-for-windows/setup-git-for-windows-sdk Action to install the SDK for Git for Windows, which includes msgfmt.exe.

This should resolve one of the problems noted in #5660 (comment).

h/t @dscho for the advice to use the SDK!

As of Git for Windows v2.44, the msgfmt.exe binary is no longer
installed by default and is therefore not available in the GitHub
Actions runners we use for our CI and release jobs.  We instead
use the git-for-windows/setup-git-for-windows-sdk Action to install
the SDK for Git for Windows, which includes msgfmt.exe.

h/t dscho for the advice to use the SDK!
@chrisd8088 chrisd8088 force-pushed the windows-ci-msgfmt-fix branch from be1e5d9 to 8818630 Compare March 1, 2024 00:01
@chrisd8088 chrisd8088 marked this pull request as ready for review March 1, 2024 00:54
@chrisd8088 chrisd8088 requested a review from a team as a code owner March 1, 2024 00:54
@chrisd8088 chrisd8088 changed the title .github/workflows: install msgfmt on Windows Install msgfmt on Windows in CI and release workflows Mar 1, 2024
@chrisd8088 chrisd8088 merged commit edc42f7 into git-lfs:main Mar 1, 2024
@chrisd8088 chrisd8088 deleted the windows-ci-msgfmt-fix branch March 1, 2024 15:28
bk2204 pushed a commit that referenced this pull request Mar 6, 2024
Install msgfmt on Windows in CI and release workflows
hswong3i pushed a commit to alvistack/git-lfs-git-lfs that referenced this pull request Mar 8, 2024
Install msgfmt on Windows in CI and release workflows
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Aug 25, 2024
Since commit c591ff7 of PR git-lfs#3125 we
have installed Strawberry Perl before running our CI test suite on
Windows.  This was necessary when we used AppVeyor to run our test
suite on Windows, and subsequently also when we converted our CI jobs
to GitHub Actions in PR git-lfs#3808.  We require Perl because we use the
"prove" command, which runs all of our t/t-*.sh test scripts and
collects and summarizes the results.

However, since commit 8818630 of
PR git-lfs#5666 we have installed the Git for Windows SDK before running
our test suite, and it includes a full Perl distribution, which means
we no longer need to install Strawberry Perl separately.
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Aug 25, 2024
Since commit c591ff7 of PR git-lfs#3125 we
have installed Strawberry Perl before running our CI test suite on
Windows.  This was necessary when we used AppVeyor to run our test
suite on Windows, and subsequently also when we converted our CI jobs
to GitHub Actions in PR git-lfs#3808.  We require Perl because we use the
"prove" command, which runs all of our t/t-*.sh test scripts and
collects and summarizes the results.

However, since commit 8818630 of
PR git-lfs#5666 we have installed the Git for Windows SDK before running
our test suite, and it includes a full Perl distribution, which means
we no longer need to install Strawberry Perl separately.
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Aug 30, 2024
Since commit c591ff7 of PR git-lfs#3125 we
have installed Strawberry Perl before running our CI test suite on
Windows.  This was necessary when we used AppVeyor to run our test
suite on Windows, and subsequently also when we converted our CI jobs
to GitHub Actions in PR git-lfs#3808.  We require Perl because we use the
"prove" command, which runs all of our t/t-*.sh test scripts and
collects and summarizes the results.

However, since commit 8818630 of
PR git-lfs#5666 we have installed the Git for Windows SDK before running
our test suite, and it includes a full Perl distribution, which means
we no longer need to install Strawberry Perl separately.
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Sep 8, 2024
Since commit c591ff7 of PR git-lfs#3125 we
have installed Strawberry Perl before running our CI test suite on
Windows.  This was necessary when we used AppVeyor to run our test
suite on Windows, and subsequently also when we converted our CI jobs
to GitHub Actions in PR git-lfs#3808.  We require Perl because we use the
"prove" command, which runs all of our t/t-*.sh test scripts and
collects and summarizes the results.

However, since commit 8818630 of
PR git-lfs#5666 we have installed the Git for Windows SDK before running
our test suite, and it includes a full Perl distribution, which means
we no longer need to install Strawberry Perl separately.
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Sep 15, 2024
Since commit c591ff7 of PR git-lfs#3125 we
have installed Strawberry Perl before running our CI test suite on
Windows.  This was necessary when we used AppVeyor to run our test
suite on Windows, and subsequently also when we converted our CI jobs
to GitHub Actions in PR git-lfs#3808.  We require Perl because we use the
"prove" command, which runs all of our t/t-*.sh test scripts and
collects and summarizes the results.

However, since commit 8818630 of
PR git-lfs#5666 we have installed the Git for Windows SDK before running
our test suite, and it includes a full Perl distribution, which means
we no longer need to install Strawberry Perl separately.
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Oct 5, 2024
Since commit c591ff7 of PR git-lfs#3125 we
have installed Strawberry Perl before running our CI test suite on
Windows.  This was necessary when we used the AppVeyor service to run
our test suite on Windows, and subsequently also when we converted our
CI jobs to GitHub Actions in PR git-lfs#3808.  We require Perl because we use
the "prove" command, which runs all of our t/t-*.sh test scripts and
collects and summarizes the results.

However, since commit 8818630 of
PR git-lfs#5666 we have installed the Git for Windows SDK before running
our test suite, and it includes a full Perl distribution, which means
we no longer need to install Strawberry Perl separately.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants